Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 7.0.0-beta2
-
None
-
Kubuntu 21.10
-
-
9735049e2c (qt-creator/qt-creator/7.0) 9735049e2c (qt-creator/tqtc-qt-creator/7.0) 9735049e2c (qt-creator/qt-creator/master) 9735049e2c (qt-creator/tqtc-qt-creator/master) 9735049e2c (qt-creator/qt-creator/qds-3.3)
Description
I have a CMake project that is configured (i.e. cmake command was run). The CMakeLists.txt contains compiler checking logic that selects compiler options specific to the compiler used. For instance, my system compiler is gcc, and CMakeLists.txt selects options supported by gcc.
The problem is that clangd, being based on clang, does not support these compiler options, and reports errors at the beginning of every file.
This does not happen when cland is not used.
Attachments
For Gerrit Dashboard: QTCREATORBUG-27113 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
398073,4 | ClangCodeModel: Suppress "Unknown argument" error | 7.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |