I think you are right that gcc and g++ are two different versions on this machine.: $ gcc -dumpversion 4.8.0 $ g++ -dumpversion 4.2.1 $ which gcc /usr/local/Cellar/gcc48/4.8.0/bin/gcc $ which g++ /usr/bin/g++ Also when I did as suggested by Sebastian: $ echo $CXXFLAGS Nothing returned I didn't know why this was happening. I have just installed the latest version of gcc4.8,and thought it should have all the C++0x and C++11 features. How can I fix this up? Can you please help me with this? Thanks a lot Austen On 16/05/13 7:02 AM, "Bastien Chevreux" <bach@xxxxxxxxxxxx> wrote: >On May 15, 2013, at 15:29 , Sebastian Juenemann ><jueneman@xxxxxxxxxxxxxxxxxxxxxxxx> wrote: >> looks like your compiler has problems to deal with this flag: >>'-std=c++0x'. >> >> Do we need this specific feature set anyway? > >Yes, we need it. And all gcc/g++ >=4.6 understand this flag, no >exceptions. > >What bothers me more is that the configure checked for the gcc version >and it apparently passed the test. However, the problem is thrown by g++ >(the c++ compiler). I have the somber feeling that gcc and g++ are two >different versions on this machine. > >I will change the configure script accordingly to check for this. > >In the mean time, Austen: what do you get if you do: > gcc -dumpversion >and > g++ -dumpversion > >? > >B. > > > >-- >You have received this mail because you are subscribed to the mira_talk >mailing list. For information on how to subscribe or unsubscribe, please >visit http://www.chevreux.org/mira_mailinglists.html -- You have received this mail because you are subscribed to the mira_talk mailing list. For information on how to subscribe or unsubscribe, please visit http://www.chevreux.org/mira_mailinglists.html