tiagolapa
Member
|
Editor: order of code in generated .h files
Hello
How can I set the order of codes in generated header files?
I have 2 enums:
Code:
enum B_ENUM
{
B_1 = 0,
B_2,
B_3
};
enum A_ENUM
{
A_1 = B_1,
A_2 = B_2,
A_3 = B_3,
A_4,
A_5
};
The problem is it gives me "undeclared identifier" at compilation.
I inspect the error and opens "@@headers.h (read only)" and can see it puts the A_ENUM before B_ENUM, because of alphabetical order.
If i change B_ENUM name to ZB_ENUM, then is good, but bad for my enum names design.
Thank you
|
|
05-11-2015 09:39 AM |
|
Esenthel
Administrator
|
RE: Editor: order of code in generated .h files
|
|
05-11-2015 10:00 PM |
|
tiagolapa
Member
|
RE: Editor: order of code in generated .h files
|
|
05-12-2015 06:06 AM |
|