2026-02-06 3:10 AM - last edited on 2026-03-17 4:15 AM by Andrew Neil
Hi,
Solved! Go to Solution.
2026-03-17 3:16 AM
Hello @Artur Laskowski
The C23 syntax support is already tracked under this internal ticket number 220188 for follow-up.
Regarding GCC15, it is expected to be supported by November 2026.
Regards.
Aimen
2026-03-17 3:16 AM
Hello @Artur Laskowski
The C23 syntax support is already tracked under this internal ticket number 220188 for follow-up.
Regarding GCC15, it is expected to be supported by November 2026.
Regards.
Aimen
2026-03-17 4:09 AM
Good to hear that, thanks
2026-03-17 4:40 AM
Maybe a good starting point would be the explicit support for C23 in the compiler language dialect tab. So far we need to set the dialect to GNU default, then manually add the option -std=c23, which is not very convenient.
2026-03-18 5:37 AM
Note that this is a well-known feature of the Eclipse* Indexer - not specific to CubeIDE
C23 syntax highlighting in STM32CubeIDE (e.g. constexpr)
STM32CubeIDE Indexer: False Positive Syntax Error with C11 _Generic
Defining enum type compiles ok, but STM32CubeIDE flags syntax error
CubeIDE incorrectly flags __attribute__((fallthrough)) as syntax error
etc, etc, ...
* In fact, not just Eclipse - it also happens in other IDEs.
2026-03-18 5:43 AM
Yeah, I know. But even if one is publishing the IDE based on a third-party framework, it would be nice if all its components were up to date and worked properly. Otherwise, the comfort of programming and the quality of the code are hard to sustain.