Hi Mathieu,<br>
<br>
Thank you for your email.&nbsp; Using echo $CXXFLAGS, the environment variable has the following value:<br>
<br>
-pedantic -Wall -W -Wfloat-equal -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wmissing-prototypes -Wpacked
-Wunreachable-code -Winline -Wlong-long -Wctor-dtor-privacy
-Wnon-virtual-dtor -Wreorder -Wold-style-cast -Woverloaded-virtual
-Wsign-promo -Wsynth<br>
<br>
Version of g++:<br>
g++ (GCC) 4.1.0 (SUSE Linux)<br>
Copyright (C) 2006 Free Software Foundation, Inc.<br>
<br>
As you suspected, CXXFLAGS has -pedantic. Could you please tell me what could be done further.<br>
<br>
Thank you,<br>
Krishnaveni<br>
<br><div><span class="gmail_quote">On 2/16/07, <b class="gmail_sendername">Mathieu Malaterre</b> &lt;<a href="mailto:mathieu.malaterre@kitware.com">mathieu.malaterre@kitware.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Krishnaveni Budati wrote:<br>&gt; Hi,<br>&gt;<br>&gt; When I am trying to build ITK on Linux, I am running into errors, when<br>&gt; running make. I have attached the error file with this email. Could you<br>&gt; please tell me what could be a possible solution.
<br>&gt;<br>&gt; I am using ITK Version - 3.x<br>&gt; and OS is Suse Linux<br>&gt;<br>&gt; Thank you,<br>&gt; Krishnaveni<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>
&gt;<br>&gt; cc1plus: warning: command line option &quot;-Wmissing-prototypes&quot; is valid for Ada/C/ObjC but not for C++<br>&gt; /home/rahul/Desktop/Insight/InsightToolkit-3.0.1/Utilities/MetaIO/metaTypes.h:53: error: ISO C++ does not support ‘long long’
<br><br><br>Hello Krishnaveni,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Could you tell us what are your CXXFLAGS. Two way to get them either:<br><br>$ echo $CXXFLAGS<br>or directly in the ITK binary directory:<br><br>$ cd ITK-bin<br>$ grep CXX_FLAGS 
CMakeCache.txt<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Could you please post that to the list ? At the same time post the<br>version of g++:<br><br>$ g++ --version<br><br>Thanks<br>Mathieu<br>Ps: I suspect you have something like -pedantic / -pedantic-errors or
<br>maybe -Werror<br></blockquote></div><br>