[Bug c++/12479] System header should not cause -pedantic to error about "extra `;'"

zack at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 1 18:57:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12479



------- Additional Comments From zack at gcc dot gnu dot org  2003-10-01 18:57 -------

| Probably.  The -pedantic can turn pedwarns into errors.  We've had
| that behaviour for ages.

... and it is a (long-standing) bug.  That's only for -pedantic-errors to do.

| Not in the C++ front-end.  That also has been debated to death.

I'm not as familiar with the history there, but surely you agree that options
like -pedantic should do the same thing in all front ends.



More information about the Gcc-bugs mailing list