Hi Mathieu,<br>
<br>
Thank you for your email. 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> <<a href="mailto:mathieu.malaterre@kitware.com">mathieu.malaterre@kitware.com</a>> 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>> Hi,<br>><br>> When I am trying to build ITK on Linux, I am running into errors, when<br>> running make. I have attached the error file with this email. Could you<br>> please tell me what could be a possible solution.
<br>><br>> I am using ITK Version - 3.x<br>> and OS is Suse Linux<br>><br>> Thank you,<br>> Krishnaveni<br>><br>><br>> ------------------------------------------------------------------------<br>
><br>> cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++<br>> /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> 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> 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>