<div>Inside VTK CMakeLists.txt in the line 339 I have changed from this:</div>
<div> </div>
<div># Tell VTK source files they are being built inside VTK.<br>ADD_DEFINITIONS(-DVTK_IN_VTK)</div>
<div>to this:</div>
<div># Tell VTK source files they are being built inside VTK.<br>ADD_DEFINITIONS(-DVTK_IN_VTK -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)<br> </div>
<div>OK!!! No more "warning C4996: 'strcpy' was declared deprecated"...<br> </div>
<div><span class="gmail_quote">2006/4/5, Mathieu Malaterre <<a href="mailto:mathieu.malaterre@kitware.com">mathieu.malaterre@kitware.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Carlos Capdepon wrote:<br>> How can I disable " warning C4996: 'strcpy' was declared deprecated<br>
> " when I compile VTK in Visual Studio 8 2005 Express ?¿?<br><br>You can edit the toplevel VTK/CMakeLists.txt and add:<br><br>ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)<br><br><br>HTH
<br>Mathieu<br></blockquote></div><br><br clear="all"><br>-- <br>Un saludo,<br>"Carlos Capdepón" <<a href="mailto:carlos.capdepon@gmail.com">carlos.capdepon@gmail.com</a>>