[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:31: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:31 -------
Both the documentation and the code are in error here. This has been discussed
at length on the mailing lists. -pedantic is ONLY to enable additional warnings.
Issuing hard errors for extensions is the sole province of -std=c++98 (or =c89,
or anything without "gnu" in the name).
More information about the Gcc-bugs
mailing list