Problem with enum delcaration moving from VC++6.0 -> VC++. .Net
Posted on 2003-11-30
I have to move an old C++ project up to VS.net from 6.0.
i have a declration:
which under .Net gives me
" syntax error : missing '}' before '='"
on the DEBUG line
Now i assume that since "DEBUG" is not in its own namespace and im doing a debug build that there are issues with DEBUG already defined. (and the problem goes away under a release build).
My question then is how is it that this simple problem doesnt occur when using 6.0 and then how can i get it to compile under .net?