I am using Codelite 14.0.0 with the gcc.exe (MinGW.org GCC Build-2) 9.2.0 compiler.
When I go to Menu > Workspace > Open Active Project Settings > Compiler> C Compiler Options... I can't see any option to make the compiler compile my C programs against the (latest) C18 standard.
Is it possible to do this in Codelite?
You should probably add the
-std=c18
compiler flag. Note that it's the same as the-std=c17
flag as it's actually the 2017 standard that was published in 2018.Also note a newer version of MinGW GCC is available (10.2.0). A standalone build is available at http://winlibs.com/