[MacPorts] #44983: streamlog @1.0: cc1plus: error: unrecognized command line option "-std=c++0x"

MacPorts noreply at macports.org
Sat Sep 13 18:37:04 PDT 2014


#44983: streamlog @1.0: cc1plus: error: unrecognized command line option
"-std=c++0x"
--------------------------+-------------------------
 Reporter:  ryandesign@…  |      Owner:  gtolemans@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.1
 Keywords:                |       Port:  streamlog
--------------------------+-------------------------
 streamlog @1.0 [https://build.macports.org/builders/buildports-
 snowleopard-x86_64/builds/29521/steps/compile/logs/stdio fails to build]
 on the snowleopard buildslave:

 {{{
 /usr/bin/g++-4.2   -Dstreamlog_EXPORTS -pipe -Os -arch x86_64  -DNDEBUG
 -arch x86_64 -mmacosx-version-min=10.6 -fPIC
 -I/opt/local/var/macports/build/_opt_mports_dports_devel_streamlog/streamlog/work/v1.0
 -I/usr/local/include -I/opt/local/include    -std=c++0x -o
 CMakeFiles/streamlog.dir/streamlog.cpp.o -c
 /opt/local/var/macports/build/_opt_mports_dports_devel_streamlog/streamlog/work/v1.0/streamlog.cpp
 cc1plus: error: unrecognized command line option "-std=c++0x"
 }}}

 I would guess that version of gcc is too old to understand c++0x. Assuming
 c++0x is required, we could try blacklisting older compilers to fix this,
 so that MacPorts would use clang instead.

-- 
Ticket URL: <https://trac.macports.org/ticket/44983>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list