Macports Clang 3.9 compilation failures due to missing <atomic> include
jonesc at hep.phy.cam.ac.uk
Thu Sep 28 15:05:10 UTC 2017
On 28/09/17 16:02, Mojca Miklavec wrote:
> On 28 September 2017 at 16:57, Chris Jones <jonesc at hep.phy.cam.ac.uk> 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 ?
More information about the macports-dev