I know, it's -std=c99, but I usually use -std=gnu99. It's still like that mostly because of problems with dinamic arrays(if I remember correctly).
No, I didn't remember correctly: Status of C99 features in GCC - GNU Project - Free Software Foundation (FSF)