Hi Everbody:
To get rid of specific warning in 2008 vc++ or 2005 vc++
1>c:\documents and settings\user\my documents\visual studio 2008\projects\gmt\gmt\gmt.cpp(25) : warning C4996: '_gmtime64': This function or variable may be unsafe. Consider using _gmtime64_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\time.h(209) : see declaration of '_gmtime64'
Project Properties
Configuration Properties
C/C++
Advanced
Disable Specific Warnings
4996
OK
You will find the
define _CRT_SECURE_NO_WARNINGS 1
define _CRT_SECURE_NO_DEPRECATE 1
pragma warning( disable : 4996 )
Will not work!
Regards herge