<div>Inside VTK CMakeLists.txt in the line 339 I have changed from this:</div>
<div>&nbsp;</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>&nbsp;</div>
<div>OK!!! No more &quot;warning C4996: 'strcpy' was declared deprecated&quot;...<br>&nbsp;</div>
<div><span class="gmail_quote">2006/4/5, Mathieu Malaterre &lt;<a href="mailto:mathieu.malaterre@kitware.com">mathieu.malaterre@kitware.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Carlos Capdepon wrote:<br>&gt; How can I disable &quot; warning C4996: 'strcpy' was declared deprecated<br>
&gt; &quot; 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>&quot;Carlos Capdepón&quot; &lt;<a href="mailto:carlos.capdepon@gmail.com">carlos.capdepon@gmail.com</a>&gt;