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

levon at movementarian dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 1 17:58: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 levon at movementarian dot org  2003-10-01 17:58 -------
<movement> um, should -pedantic be causing /errors/ ?
<zwol> no
<zwol> -pedantic is supposed to just enable more warnings

-pedantic is listed as a warning option. What purpose does
-pedantic-errors have if -pedantic introduces new errors ?

Furthermore, if you insist that -pedantic should fail the build,
it seems that there needs to be some fixincludes work, otherwise
GCC 3.4 g++ and -pedantic will be useless on systems as common
as Red Hat Linux 8.0

See also http://bugzilla.mozilla.org/show_bug.cgi?id=218551



More information about the Gcc-bugs mailing list