Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
dev
-
None
-
7a70c6fcf (dev), 9d11e5019 (dev), b98468002 (6.6), da129551f (6.5), e732fec47 (6.5)
Description
- *GIVEN*: a configuration which combines -platform linux-clang-libc++ and -c++std c++2b
- *WHEN*: trying to build
- *THEN*: the build fails with
Target "syncqt" requires the language dialect "CXX23" (with compiler extensions). But the current compiler "GNU" does not support this, or CMake does not know the flags to enable it.
It seems syncqt is always built with GNU-C++, even with -platform linux-clang, but the C++-standard is taken from -c++std.
Expected:
- either syncqt is build with the host compiler as requested by -platform, or
- CXX_STANDARD is hard-coded to what syncqt actually needs, not what was passed as -c++std.
Log file (with GCC and Clang versions, as well as config.opt) attached.
Attachments
For Gerrit Dashboard: QTBUG-116789 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
502697,3 | Add variable linked to configure-time executables to detect CMakeCache wiping | dev | qt/qtbase | Status: MERGED | +2 | 0 |
502698,3 | Require the C++17 standard for configure-time syncqt | dev | qt/qtbase | Status: MERGED | +2 | 0 |
503100,2 | Require the C++17 standard for configure-time syncqt | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
503141,2 | Add variable linked to configure-time executables to detect CMakeCache wiping | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
503510,3 | Require the C++17 standard for configure-time syncqt | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
505311,4 | Add variable linked to configure-time executables to detect CMakeCache wiping | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |