invalid integer constant expression
-
In a library that I downloaded I get an error on this line: #if WIN32 && defined(_MSC_VER) && DEBUG The sample app that came with the library compiles fine but when I use the library in my app it fails. I belive VC define those variables. So, its probably a configuration thing that I'm missing. (I compiled both projects in the Debug Configuration.) Thanks for any ideas, Albert
-
In a library that I downloaded I get an error on this line: #if WIN32 && defined(_MSC_VER) && DEBUG The sample app that came with the library compiles fine but when I use the library in my app it fails. I belive VC define those variables. So, its probably a configuration thing that I'm missing. (I compiled both projects in the Debug Configuration.) Thanks for any ideas, Albert
AFAIK it is complaining about DEBUG. VC defines _DEBUG (note the underscore). maybe the library or sample supplied defines DEBUG itself?
[
](http://www.canucks.com)Sonork 100.11743 Chicken Little "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 Within you lies the power for good - Use it!
-
AFAIK it is complaining about DEBUG. VC defines _DEBUG (note the underscore). maybe the library or sample supplied defines DEBUG itself?
[
](http://www.canucks.com)Sonork 100.11743 Chicken Little "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 Within you lies the power for good - Use it!