Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: Luke1410 on April 23, 2008, 05:16:18 am
-
When I try to import my current code base, EA reports the following error:
"There was an error parsing [...]idmap.h on line 573. Unexpected symbol: IDType
You may need to define a language macro."
The corresponding line is:
template<class BaseClassType, typename IDType> template<class SubClassType> SubClassType* AutoIDMap<BaseClassType, IDType>::FindObject(const IDType& id) const
{
[...]
}
The class is a template class called AutoIDMap which takes two template parameters (BaseClassType and IDType). The method itself is a template method taking one template parameter called SubClassType.
I'm a bit lost here, since I'm unsure whether I'm doing something wrong or found a bug in EA nobody else has mentioned yet in the forums.
-
For those who are interested:
I sent a support request to Sparx and they confirmed that it's a reproducable issue which should be resolved in the next release (current release being 7.1 Build 829).