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

2015-10-17 Thread Tim Blechmann
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  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


___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


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

2015-10-17 Thread Thiago Macieira
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  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

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development