how to permanently turn of deprecation warnings?
I have to keep using this code in every source file that I compile, to turn off VC++ 2008 deprecation warnings.
Code:
#define _CRT_SECURE_NO_WARNINGS
EDIT:
The types of deprecation warnings are:
Quote:
warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
Is there an option in VC++ where I can make it turn off the warnings as a default?
Thanks. :)