User forums > General (but related to Code::Blocks)
Problem with Syntax highlighting of include directives
(1/1)
lucrol:
Hello !
In this code :
--- Code: ---void internationalisation() {
#if (defined(_WIN32) || defined(_WIN64)) // Using Windows 10 !
system("CHCP 65001 > NUL");
#else
;// Linux terminal normaly in UTF-8, nothing to do
#endif // _WINxx
}
--- End code ---
I use CB on Windows 10 and the else branch is hilighted !?
What's the matter?
Bests regards
Miguel Gimenez:
Have you checked "Include host platform defines" in Editor -> Settings -> General settings -> C/C++ Editor settings?
lucrol:
Thanks, that settles it.
Bests regards.
Luc
Navigation
[0] Message Index
Go to full version