DEV-Cpp und C99 ?
-
Hi Leute.
Ich habe mal eine Frage
.
Kann ich DEV-Cpp so einstellen, dass er den C99 Standard zulässt.
Also zum Bsp:
for (int x = 0; ... )
Denn da kommt immer: "'for' loop initial declaration used outside C99 mode".
Könnt ihr mir helfen.
-
versuchs mal mit -std=c99 als compiler-switch
GCC online documentation
-
Ich danke dir. Hat geklappt.