[vtk-developers] deprecated CRT routines in MSVS8
Yianis Nikolaou
yianisn at gmail.com
Tue Aug 2 03:14:47 EDT 2005
hi,
as you probably know, in MS Visual Studio 8 a bunch of CRT routines
have been marked with a DEPRECATED keyword
(for example strcpy, sprintf etc. see also
http://msdn2.microsoft.com/library/wd3wzwts(en-us,vs.80).aspx<http://msdn2.microsoft.com/library/wd3wzwts%28en-us,vs.80%29.aspx>
)
and the compiler generates a zillion warnings when I compile VTK
Could you please add in CmakeLists.txt
ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)
to disable these warnings by default when using the above compiler?
thank you in advance
yianis nikolaou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtk-developers/attachments/20050802/03e78dc4/attachment.htm>
More information about the vtk-developers
mailing list