That is the default.
pelix:~/tmp% gcc -c foo.c pelix:~/tmp% gcc -std=c89 -c foo.c pelix:~/tmp% gcc -std=c99 -c foo.c pelix:~/tmp% gcc -pedantic -c foo.c foo.c: In function `main': foo.c:5: warning: ISO C89 forbids mixed declarations and code pelix:~/tmp% gcc -pedantic -std=c89 -c foo.c foo.c: In function `main': foo.c:5: warning: ISO C89 forbids mixed declarations and code pelix:~/tmp% gcc -pedantic -std=c99 -c foo.c pelix:~/tmp%
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-12-09 15:33: Subject: gcc 3.2
Try
gcc -std=c89
/ Niels Möller ()