-pedantic isn't very useful. It gives too many warnings - 4 every source file from includes clogs most other output.
bignum.h:63: warning: ISO C89 does not support `long long' bignum.h:64: warning: ISO C89 does not support `long long' global.h:241: warning: ISO C89 does not support `long long' global.h:241: warning: ISO C89 does not support `long long'
long long is useful and configure-tested to work, so these warnings are useless. I suppose there is no way to error for declarations in the wrong order and yet not warn for long long?
/ Mirar
Previous text:
2002-12-09 17:00: Subject: gcc 3.2
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!)