[Development] Fwd: Change in qt/qtbase[5.6]: Make the C++11 atomic support the default, if available

Thiago Macieira thiago.macieira at intel.com
Sun Oct 18 06:42:16 CEST 2015


On Sunday 18 October 2015 00:59:32 Tim Blechmann wrote:
> 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 ...

Not a problem for us. We only need integrals.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list