[MacPorts] #44983: streamlog @1.0: cc1plus: error: unrecognized command line option "-std=c++0x"
#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
#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 Resolution: | Keywords: Port: streamlog | ---------------------------+------------------------- Comment (by larryv@…): “C++0x” is the same as C++11, with all the Snow Leopard caveats that that implies. -- Ticket URL: <https://trac.macports.org/ticket/44983#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#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 Resolution: | Keywords: Port: streamlog | ---------------------------+------------------------- Comment (by ryandesign@…): Then I'm surprised it built on Lion and Mountain Lion. -- Ticket URL: <https://trac.macports.org/ticket/44983#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#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 Resolution: | Keywords: haspatch Port: streamlog | ---------------------------+------------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: It builds fine for me on Snow Leopard using the attached patch, which blacklists Xcode's compilers and thus falls back on macports-clang-3.4. -- Ticket URL: <https://trac.macports.org/ticket/44983#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44983: streamlog @1.0: cc1plus: error: unrecognized command line option "-std=c++0x" ---------------------------+------------------------- Reporter: ryandesign@… | Owner: gtolemans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: haspatch Port: streamlog | ---------------------------+------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r125583 (maintainer timeout) -- Ticket URL: <https://trac.macports.org/ticket/44983#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts