Wednesday, March 17, 2010

disable the M$ C4996



In VS 2005 EE, do:

Project | Properties | Configuration properties | C/C++ | Advanced | Disable specific warning | add the value 4996.

or

Add
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_NONSTDC_NO_DEPRECATE
#define _CRT_SECURE_NO_WARNINGS



in *.c, *.cpp

Have fun.


No comments:

Post a Comment

Labels