[vtk-developers] Visual Studio 8 "insecure method" warnings

David Gobbi dgobbi at atamai.com
Thu Feb 16 11:55:07 EST 2006


I've committed the fix to turn off the warnings in VTK, and I've changed
vtkSetStringMacro so that it doesn't use "strcpy".  That should be enough
to keep the warnings from cropping up. 

Andrew J. Dolgert wrote:

>The "Safer CRT" modifications aren't ANSI and aren't yet accepted into
>future ANSI, the C99 standard. They are in an ISO proposal draft
>technical report from September 2005 which hopes to place them in the
>C99 standard. The draft is at
>http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1135.pdf
>That makes the compiler's flagging of ANSI library functions as
>deprecated a bit of a strong-arm practice. You can feel good about
>turning off this warning.
>
>- Drew Dolgert
>
>_______________________________________________
>vtk-developers mailing list
>vtk-developers at vtk.org
>http://www.vtk.org/mailman/listinfo/vtk-developers
>  
>




More information about the vtk-developers mailing list