Secret switch to disable deprecation · Tue Feb 21, 07:12 AM

When using Visual Studio 2005, you’ll get compiler warnings if you use the unsafe versions of various string functions (strcpy, strcat, et al.). The docs say you can disable the warnings by defining _CRT_SECURE_NO_DEPRECATE. The docs lie. You need to define both _CRT_SECURE_NO_DEPRECATE and _CRT_NONSTDC_NO_DEPRECATE (courtesy of MSDN Forums).

...