Details
-
Task
-
Resolution: Done
-
P2: Important
-
5.15.5, 6.2.0 Beta3
-
None
-
-
9004575f4b2aee7bf3c55522affd10555d134c51 (qt/qtbase/dev) da1da999f49b3e694a39c3bb356c942f50679760 (qt/tqtc-qtbase/5.15) 7da01fb51334df2fdc5cbab30fd9d8676711ec4a (qt/qtbase/6.2)
Description
It's possible to set the C11 C language standard with
CONFIG += c11
We should support
CONFIG += c17
and
CONFIG += c18
too (both being the same standard).
Compiler flags:
gcc: -std=c18 (or the equivalent -std=c17) MSVC: /std:c17
Attachments
Issue Links
- relates to
-
QTBUG-89296 No way to specify C standard for Visual Studio 2019 in qmake project
- Closed
For Gerrit Dashboard: QTBUG-96026 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
367095,3 | qmake: Add support for C17/C18 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
367184,4 | qmake: Add support for C17/C18 | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
367210,5 | qmake: Add support for C17/C18 | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |