Sure thing!<br><br><div class="gmail_quote">On Tue, Jan 13, 2009 at 11:41 AM, Mathieu Malaterre <span dir="ltr">&lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Oh ok. So you could maybe fix<br>
VTK/CMake/vtkDetermineCompilerFlags.cmake to accomodate for intel<br>
compiler:<br>
<br>
...<br>
IF(CMAKE_COMPILER_2005)<br>
 &nbsp;ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)<br>
 &nbsp;ADD_DEFINITIONS(-D_SCL_SECURE_NO_DEPRECATE)<br>
ENDIF(CMAKE_COMPILER_2005)<br>
...<br>
<br>
This should get you rid of tons of warnings.<br>
<br>
Thanks,<br>
<div><div></div><div class="Wj3C7c"><br>
On Tue, Jan 13, 2009 at 5:38 PM, Dave Partyka &lt;<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>&gt; wrote:<br>
&gt; Yeah thats how the Intel compiler works (at least on Windows). It requires<br>
&gt; either Visual Studio or the Windows SDK and sets itself up to act as a<br>
&gt; replacement for the compiler executable &quot;cl.exe&quot; and then makes use of all<br>
&gt; of the MS headerfiles and probably the libraries too.<br>
&gt;<br>
&gt; On Tue, Jan 13, 2009 at 11:14 AM, Mathieu Malaterre<br>
&gt; &lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Dave,<br>
&gt;&gt;<br>
&gt;&gt; &nbsp;This line looks suspicious:<br>
&gt;&gt;<br>
&gt;&gt; ...<br>
&gt;&gt; C:\Kitware\VTK\Utilities\kwsys\ProcessFwd9x.c(91): warning #1786:<br>
&gt;&gt; function &quot;sscanf&quot; (declared at line 324 of &quot;C:\Program Files<br>
&gt;&gt; (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h&quot;) was declared<br>
&gt;&gt; &quot;deprecated (&quot;This function or variable may be unsafe. Consider using<br>
&gt;&gt; sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.<br>
&gt;&gt; See online help for details.&quot;) &quot;<br>
&gt;&gt; ...<br>
&gt;&gt;<br>
&gt;&gt; why would intel compiler use M$ stdio.h file ? Did you set INCLUDE env<br>
&gt;&gt; var to M$ stuff on purpose ?<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jan 13, 2009 at 4:26 PM, Dave Partyka &lt;<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; Hi Jim,<br>
&gt;&gt; &gt; Here is the dashboard I ran last night building VTK with nmake (using<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; Intel Compiler). It has plenty of warnings but does build successfully.<br>
&gt;&gt; &gt; <a href="http://www.cdash.org/CDash/buildSummary.php?buildid=249449" target="_blank">http://www.cdash.org/CDash/buildSummary.php?buildid=249449</a><br>
&gt;&gt; &gt; To do this you run cmake from the intel command prompt. From there when<br>
&gt;&gt; &gt; you&#39;re prompted to pick a generator select NMake Makefiles and then<br>
&gt;&gt; &gt; select<br>
&gt;&gt; &gt; &quot;Compiler Setup&quot;. In there set C and C++ compilers to point to the<br>
&gt;&gt; &gt; location<br>
&gt;&gt; &gt; of icl.exe. You can also use the visual studio IDE, in which you just<br>
&gt;&gt; &gt; hit<br>
&gt;&gt; &gt; the Intel C++ button on the toolbar.<br>
&gt;&gt; &gt; On Mon, Jan 12, 2009 at 4:16 PM, Dave Partyka &lt;<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi Jim,<br>
&gt;&gt; &gt;&gt; I have recently been experimenting with building VTK with the latest<br>
&gt;&gt; &gt;&gt; Intel<br>
&gt;&gt; &gt;&gt; C++ compiler. I will run an experimental dashboard tonight and send you<br>
&gt;&gt; &gt;&gt; a<br>
&gt;&gt; &gt;&gt; link to it. As I recall it had a ton of warnings in it that needed to<br>
&gt;&gt; &gt;&gt; be<br>
&gt;&gt; &gt;&gt; cleaned up. I wouldn&#39;t be surprised that in the near future we&#39;ll have<br>
&gt;&gt; &gt;&gt; a<br>
&gt;&gt; &gt;&gt; regular nightly dashboard using that compiler.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Mon, Jan 12, 2009 at 3:51 PM, Jim &lt;<a href="mailto:jiksed@yahoo.com">jiksed@yahoo.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Dear vtkusers,<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Will VTK + Qt + Intel C++ a good combination for numerical modeling<br>
&gt;&gt; &gt;&gt;&gt; and<br>
&gt;&gt; &gt;&gt;&gt; data visualizaton on Win32 and Win64? I don&#39;t see any testing data on<br>
&gt;&gt; &gt;&gt;&gt; VTK<br>
&gt;&gt; &gt;&gt;&gt; Quality Dashboard.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Thank you.<br>
&gt;&gt; &gt;&gt;&gt; Jim<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt;&gt; This is the private VTK discussion list.<br>
&gt;&gt; &gt;&gt;&gt; Please keep messages on-topic. Check the FAQ at:<br>
&gt;&gt; &gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt; &gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt;&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; This is the private VTK discussion list.<br>
&gt;&gt; &gt; Please keep messages on-topic. Check the FAQ at:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Mathieu<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<font color="#888888">Mathieu<br>
</font></blockquote></div><br>