Hi all, I just have a curious question about the deprecated function from the STL :
I use ptm = localtime ( &rawtime ); for example in a project without osg and I get the following warning : 1>Z:\projets\EasyMonitoring\LicenseManager\trunk\include\Output.h(42) : warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. But if I include and osg File : #include <osg/Array> No warning ... I didn't found the _CRT_SECURE_NO_WARNINGS in osg sources, so I don't understand how this is defined ? or where ? I use Visual Studio 2005 and osg 2.6.1. Thanks. Regards, Vincent.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

