Macports Clang 3.9 compilation failures due to missing <atomic> include
mojca at macports.org
Mon Oct 2 06:41:46 UTC 2017
On 28 September 2017 at 17:05, Chris Jones wrote:
> On 28/09/17 16:02, Mojca Miklavec wrote:
>> On 28 September 2017 at 16:57, Chris Jones wrote:
>>> Thanks. In fact I tried adding
>>> PortGroup cxx11 1.1
>>> but that gave me the error below. Presumably I am missiong something else
>>> clang: error: invalid library name in argument
>> This means that the compiler is missing the necessary patch
>> (introduced by Marcus).
>> You need the variant +libstdcxx and clang-4.0 has that one enabled by
>> default, while 3.9 doesn't.
> OK thanks. One of the ports I am interested in fixing will not compile with
> clang 4.0 though. Is there a why to do this with 3.9 as well ?
I didn't check, but I assume that the following commit satisfies your needs:
More information about the macports-dev