Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Mato on October 16, 2006, 06:03:16 am
-
Hi,
I am just starting to use EA - (this is not an excuse, I know) and I face a problem with reverse engineering of a code like:
...
class __attribute__ ((packed)) Abc
{
public:
int a;
int b;
};
...
I have tried to define C++ languge macros (the __attribute__ is accepted as such, bat the ((packed)) afterwards fails).
Pls. note this construct is included in customer code and should remain.
Thanks for any help.
br.
Mato
-
Try using __attribute__() as the language macro instead. This skips everything in the brackets.
-
Hi Simon!
Thanks for your answer - it was exactly what I was looking for.
A great help!
br
Mato
-
Now all one needs to do is distil all the advice in these forums into an Expert System database ;-)