[vtkusers] warning C4996: 'strcpy' was declared deprecated

Andinet Enquobahrie andinet.enqu at kitware.com
Mon Apr 3 20:47:13 EDT 2006


Carlos Capdepon wrote:

> How can I disable " warning C4996: 'strcpy' was declared deprecated 
> " when I compile VTK in Visual Studio 8 2005 Express ?¿?
>
If you add

_CRT_SECURE_NO_DEPRECATE

to your project preprocessor definitions, all your warnings will go away...

-Andinet

> -- 
> Un saludo,
> "Carlos Capdepón" <carlos.capdepon at gmail.com 
> <mailto:carlos.capdepon at gmail.com>>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>  
>





More information about the vtkusers mailing list