GCC コンパイラ オプション メモ

-std=c99 or -std=gnu99

: In function ‘hoge’:
: error: ‘for’ loop initial declarations are only allowed in C99 mode
: note: use option -std=c99 or -std=gnu99 to compile your code
    PAGE TOP ↑