Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.8.0 Beta4
-
None
-
-
1f9a660eb (dev), 2f4680d14 (6.8), ace0e0ec0 (dev)
Description
Although building with clang(-cl) isn't supported, clang-cl is used by clangd under the hood on Windows in projects that compile with MSVC. When including any header that transitively includes qtypes.h, clangd errors with In included file: static assertion failed due to requirement 'std::is_signed_v<__int128>': Qt requires <type_traits> and <limits> to work for q(u)int128. This is because MSVC's STL (which clang-cl uses) doesn't support 128bit integers.
Attachments
For Gerrit Dashboard: QTBUG-128675 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
592120,2 | Fix compilation with clang-cl | dev | qt/qtbase | Status: NEW | -1 | +1 |
588887,3 | Disable q(u)int128 for Clang with MSVC's STL | dev | qt/qtbase | Status: MERGED | +2 | 0 |
589276,2 | Disable q(u)int128 for Clang with MSVC's STL | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
590293,2 | shiboken6/Clang parser: Remove -DQT_NO_INT128 for MSVC | dev | pyside/pyside-setup | Status: MERGED | +2 | +1 |