Opened 2 years ago
Closed 2 years 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 2 years ago by jmroot (Joshua Root)
| Owner: | set to ryandesign |
|---|---|
| Status: | new → assigned |
comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

The port already sets
compiler.cxx_standard 2011.