And -pedantic _is_ orthogonal to selecting the ANSI-C version. -pedantic just controls whether gcc actually cares if you break the selected standard.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-12-09 17:30: Subject: gcc 3.2
I find it odd that you need -pedantic to get warnings. Something like -std=c89 -Wall ought to be enough. (Of course, you may want to use -pedantic anywy, for some other reason, that should be orthogonal to selecting the ANSI-C version)
/ Niels Möller ()