Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Lars Er on November 30, 2010, 01:02:42 am

Title: Code import problem
Post by: Lars Er on November 30, 2010, 01:02:42 am
When importing C source code with macros I got parse error on the ((unused)) attribute; "unexpected symbol (".
__attribute__ is already added as macro:

static const unsigned char svnId[] __attribute__ ((unused))={"$Id$};

/ Lars
Title: Re: Code import problem
Post by: Eve on November 30, 2010, 08:37:50 am
Add '__attribute__()' instead if you want EA to skip over the parenthesis.
Title: Re: Code import problem
Post by: Lars Er on November 30, 2010, 08:49:00 pm
Great! Thank you :)

Lars