Hi,
I'm trying to port my application from Visual Studio to Eclipse+MinGW.
I'm having some problems with enum types. On Visual Studio I was able to use:
myClass.h
...
enum myEnum{A = 0, B, C];
...
...
enum myEnum{A = 0, B, C];
...
To copy to clipboard, switch view to plain text mode
someWhere in my code
int iA = myClass::myEnum::C;
int iA = myClass::myEnum::C;
To copy to clipboard, switch view to plain text mode
Visual Studio compiler don't show me any error, but MinGW compiler tells me that it don't exists. The only solution is ignore the enum name.
int iA = myClass::C;
int iA = myClass::C;
To copy to clipboard, switch view to plain text mode
Is this behavior correct?
Thanks,
Another question is: is there any tool to import from Visual Studio project to PRO file?
Thanks,
Bookmarks