[MacPorts] #55608: dar @2.5.14: error: C++ compiler lack support for c++11 standard
MacPorts
noreply at macports.org
Sun Jul 22 22:12:45 UTC 2018
#55608: dar @2.5.14: error: C++ compiler lack support for c++11 standard
-------------------------+--------------------------------
Reporter: ryandesign | Owner: ryandesign
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: mavericks yosemite
Port: dar |
-------------------------+--------------------------------
Changes (by ryandesign):
* keywords: mavericks => mavericks yosemite
Comment:
Same on Yosemite.
The error is:
{{{
configure:21468: checking for c++11 support
configure:21482: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -arch x86_64
-I/opt/local/include conftest.cpp >&5
conftest.cpp:106:2: error: unknown type name 'thread_local'
thread_local static int test = 0;
^
conftest.cpp:106:15: error: expected unqualified-id
thread_local static int test = 0;
^
2 errors generated.
}}}
Thread local is available in open-source clang 3.3 and later, but Apple
did not include it until Xcode 8 because they apparently wanted to write a
different implementation.
It builds on El Capitan with Xcode clang 800.0.42.1.
It also builds on Mountain Lion with MacPorts clang 5.
--
Ticket URL: <https://trac.macports.org/ticket/55608#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list