codeql
codeql copied to clipboard
cpp - compiler support
Questions
-
According to https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/, only few compilers are supported. The supported compiler are old versions (clang12 and gcc11). Is there any issue to use latest version og these compilers
-
What about other compilers (diab, iar, greenhills, tasking), is there a way to run codeql on these compiled code?
Thanks for the question. I'm asking the team that maintains the C extractor.
- According to https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/, only few compilers are supported. The supported compiler are old versions (clang12 and gcc11). Is there any issue to use latest version og these compilers
The documentation is somewhat out-of-date, and we'll hopefully fix this soon. Newer versions should generally work. If not, please let us know by opening issues on this.
- What about other compilers (diab, iar, greenhills, tasking), is there a way to run codeql on these compiled code?
Those compilers are not supported. If your code also compiles with clang or gcc, I'd recommend using those. If the compilers still identify themselves are being based on clang or gcc in their --version
string, things might still work but we cannot guarantee anything.
Closing as answered.