re compling error - include\crtdefs.h(388) : fatal error C1017: invalid integer constant expression  
Author Message
PJ-21





PostPosted: Visual C++ General, re compling error - include\crtdefs.h(388) : fatal error C1017: invalid integer constant expression Top

Compiling...

cotcltest.cpp

c:\program files\microsoft visual studio 8\vc\include\crtdefs.h(388) : fatal error C1017: invalid integer constant expression

I get the above message during compiling of any of my code from a previous version of MS C++. Do I have the correct crtdefs.h file.

75 kb 09/22/2005 10:48 p.m.



Visual C++3  
 
 
Mike Danes





PostPosted: Visual C++ General, re compling error - include\crtdefs.h(388) : fatal error C1017: invalid integer constant expression Top

Did you defined somewhere _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES

If so make sure you have specified a value for it:

#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1

and not just

#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES