Opened 12 days ago

Closed 12 days ago

#69768 closed defect (fixed)

ninja fails to compile with standard gcc on Leopard 10.5: unrecognized command line option "-std=c++11"

Reported by: rmottola (Riccardo) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc:
Port: ninja

Description

g++-4.2 doesn't like c++11

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ninja/ninja/work/ninja-1.12.0" && /opt/local/bin/python3.12 configure.py --with-python=/opt/local/bin/python3.12 --bootstrap --verbose 
cc1plus: error: unrecognized command line option "-std=c++11"
bootstrapping ninja...

just using a humble gcc 4.8 from macports

Is there an option to require C++11 ? a bit on the lines of compiler.thread_local_storage yes

Change History (2)

comment:1 Changed 12 days ago by jmroot (Joshua Root)

Owner: set to ryandesign
Status: newassigned

The port already sets compiler.cxx_standard 2011.

comment:2 Changed 12 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.