[kde-freebsd] [SVN Commit] branches/qt-5.5/QT/devel/qt5/files

Raphael Kubo da Costa rakuco at FreeBSD.org
Sat Jan 23 23:43:55 UTC 2016


SVN commit 11861 by rakuco:

qt5: Disable more C++11 features for the clang + base libstdc++ case.

Base libstdc++ does not properly support some features which are being used
in Qt 5.5. Sometimes the actual C++11 features are supported, but their use
with some other broken, missing ones requires us to disable the macros
concering the former when there are none for the latter.

List of new disabled Qt macros:
* Q_COMPILER_UNICODE_STRINGS
  There is no std::u{16,32}string in libstdc++ 4.2.
* Q_COMPILER_NOEXCEPT
  qpair.h uses std::declval inside a noexcept expression, disable the latter
  because there's no macro for the former.
* Q_COMPILER_CONSTEXPR
  Base libstdc++ is missing constexpr keywords on important functions like
  std::numeric_limits<>::min(). Disable constexpr even if clang advertises
  support for it.
* Q_COMPILER_NULLPTR
  There is no std::nullptr_t in libstdc++ 4.2.

This lets net-im/teamword build on 9.3 with Qt 5.5.1.



 M  +18 -2     extrapatch-src_corelib_global_qcompilerdetection.h  




More information about the kde-freebsd mailing list