Macports Clang 3.9 compilation failures due to missing <atomic> include

Mojca Miklavec mojca at macports.org
Thu Sep 28 15:20:06 UTC 2017


On 28 September 2017 at 17:05, Chris Jones wrote:
>
>> 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 ?

Sure. You need to install clang 3.9 with that variant, but that will
take some additional CPU cycles unless we make that option default.

See:
    https://trac.macports.org/ticket/54766
and probably some other tickets (I can try to dig them out).

If we get rid of some dependencies, it would be easier to justify
enabling the option by default on older compilers.

Mojca


More information about the macports-dev mailing list