-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Labels
languageC/C++ Language SupportC/C++ Language Support
Description
Describe the bug
I'm using latest Eclipse (2025-09) CDT with GCC-16 (which defaults to C23), Makefile project and no LSP editor.
Syntax highlighter (and CDT code analyser) indicates errors on every bool, true, false, constexpr.
To Reproduce
Steps to reproduce the behavior:
- Create Makefile project in Eclipse CDT
- Add .c file with C23 code (any of
bool,true,false,constexpr), for example:
int main(int argc, char **argv) {
constexpr int a_cnst = (int) false;
bool b_var = true;
return b_var ? a_cnst : argc;
}- See detected "errors" for every mentioned keyword
Expected behavior
bool, true, false, constexpr should not be detected as "errors" even when no header is included.
Version Information (please complete the following information):
- GNU/Linux, Gentoo
- Eclipse Version: 2025-09 (4.37.0)
- CDT Version: 12.2.0.202506091931
Metadata
Metadata
Assignees
Labels
languageC/C++ Language SupportC/C++ Language Support
