[Development] Fwd: Change in qt/qtbase[5.6]: Make the C++11 atomic support the default, if available
Tim Blechmann
tim at klingt.org
Sun Oct 18 00:59:32 CEST 2015
On 17/10/15 01:27, Thiago Macieira wrote:
> FYI
>
> Please report any issues you have with broken compilers that did not implement
> std::atomic properly. I'd like to include them in the release notes.
>
> These are already known to fail, so please don't report them:
> - Xcode 5.0's clang compiler says it supports constexpr but doesn't
> - ICC on OS X has a broken <atomic> header that misses some casts
>
> Those compilers are now blacklisted in C++11 mode. For Qt 5.6, you can pass
> the configure option -std=c++98 or -no-c++11 and you'll be able to use them.
> They will not be supported in Qt 5.7, so please schedule your upgrade before
> the 5.7 release.
clang didn't implement std::atomic correctly for a long time (compare
[1]), so expect troubles for Xcode versions before 6.3 ... this issue
can be worked around in user code, though ...
cheers,
tim
[1] https://llvm.org/bugs/show_bug.cgi?id=18097
More information about the Development
mailing list