Please remove&nbsp;&nbsp; &quot;-pedantic&quot; . I remember gcc 3.4 used to give warnings exactly like the ones you have with -pedantic : <br>&nbsp;&nbsp; &quot; ISO C++ does not support &#39;long long&#39; &quot;<br><br>I presume gcc4.1 throws an error for the same.&nbsp;&nbsp; (typical of gcc... warn users with a few versions before erroring them out :) )
<br><br>You might also want to remove the flag -Wlong-long (In any case, -Wlong-long and -Wno-long-long are taken into account only if -pedantic flag is specified).<br><br>Please let us know if this works for you.<br>-karthik
<br><br><br><div><span class="gmail_quote">On 2/16/07, <b class="gmail_sendername">Krishnaveni Budati</b> &lt;<a href="mailto:kbudati@gmail.com">kbudati@gmail.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;">
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><span class="sg">
Krishnaveni</span><div><span class="e" id="q_110cb79606e8dcef_2"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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>
</span></div><br>_______________________________________________<br>Insight-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br><br></blockquote></div><br><br clear="all">
<br>