This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12479] System header should not cause -pedantic to error about "extra `;'"
- From: "levon at movementarian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Oct 2003 17:58:20 -0000
- Subject: [Bug c++/12479] System header should not cause -pedantic to error about "extra `;'"
- References: <20031001174228.12479.levon@movementarian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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