Skip to content

Eclipse CDT, MinGW, C99

So by default Eclipse + MinGW = no C99, this is somewhat annoying because initialization of variables in the for loop for example is allowed in C99

To enable, right click a C project -> Properties -> C/C++ Build -> Settings -> GCC C Compiler -> Miscellaneous -> Append -std=c99 to the Other flags text box

Posted in Technology. Tagged with , , , .