#1064846 kdevelop: Code highlighting breaks when changing compiler

Package:
kdevelop
Source:
kdevelop
Description:
integrated development environment for C/C++ and other languages
Submitter:
David James
Date:
2024-02-26 16:18:03 UTC
Severity:
normal
#1064846#5
Date:
2024-02-26 16:15:00 UTC
From:
To:
Dear Maintainer,

When using the default compiler on my system (GCC/G++) the code highlighting
works fine and mousing over variables shows declaration etc.. However, when I
switch the compiler to clang or cross compiling for ARM (by passing
-DCMAKE_C_COMPILER=/usr/bin/clang in "extra parameters" in the configuration
dialog), the code highlight and variable prediction/help text stops working.
Keywords like void and extern are still coloured blue, and strings are still
coloured red, but everything else is just plain.

These were all CMake projects.