2014-08-14 'for' loop initial declarations are only allowed in C99 mode Embed Simply open the project preferences and add -std=c99 to Settings/C Compiler/Miscellaneous/Other Flags