[MacPorts] #55382: cmake @3.10.0: Cannot find a C++ compiler supporting C++11 on this system
MacPorts
noreply at macports.org
Wed Nov 22 18:07:23 UTC 2017
#55382: cmake @3.10.0: Cannot find a C++ compiler supporting C++11 on this system
-------------------------+-------------------------------------------------
Reporter: ryandesign | Owner: michaelld
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version:
Resolution: | Keywords: tiger leopard snowleopard lion
Port: cmake | mountainlion
-------------------------+-------------------------------------------------
Comment (by kencu):
Nope. Not a flag. Some kind of weird error in bootstrap:
{{{
------------------------------------------
clang: error: unknown argument: '-qlanglvl=extended0x'
Test failed to compile
Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os
-stdlib=libstdc++ -arch x86_64 -qlanglvl=extended0x' works.
Try: /opt/local/bin/clang++-mp-3.7
Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch
x86_64 -qlanglvl=extended0x cmake_bootstrap_4474_test.cxx -o
cmake_bootstrap_4474_test
}}}
full log attached. Could be this plan won't work quite so easily - c++11
features in clang-3.7 might only be active if the stdlib is set to libc++.
The macports-libstdc++ stuff didn't show up until clang-3.9.
--
Ticket URL: <https://trac.macports.org/ticket/55382#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list