public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12479] New: superfluous colon with -pedantic gives error not present w/o -pedantic (mozilla build failure)
@ 2003-10-01 17:42 levon at movementarian dot org
  2003-10-01 17:46 ` [Bug c++/12479] " pinskia at gcc dot gnu dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: levon at movementarian dot org @ 2003-10-01 17:42 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: superfluous colon with -pedantic gives error not present
                    w/o -pedantic (mozilla build failure)
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: levon at movementarian dot org
                CC: gcc-bugs at gcc dot gnu dot org

testcase:

[moz@lambent moz]$ cat a.cpp
extern "C" { };
[moz@lambent moz]$ /usr/local/gcc-cvs/bin/g++ -c a.cpp
[moz@lambent moz]$ /usr/local/gcc-cvs/bin/g++ -pedantic -c a.cpp
a.cpp:1: error: extra `;'

This is a regression against earlier gcc versions (gcc-3.2-7 on RH8)

Originally seen building mozilla, where /usr/include/malloc.h has the
superfluous semicolon.

gcc version 3.4 20030925


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2003-12-22 19:01 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 17:42 [Bug c++/12479] New: superfluous colon with -pedantic gives error not present w/o -pedantic (mozilla build failure) levon at movementarian dot org
2003-10-01 17:46 ` [Bug c++/12479] " pinskia at gcc dot gnu dot org
2003-10-01 17:51 ` [Bug c++/12479] System header should not cause -pedantic to error about "extra `;'" pinskia at gcc dot gnu dot org
2003-10-01 17:58 ` levon at movementarian dot org
2003-10-01 18:01 ` pinskia at gcc dot gnu dot org
2003-10-01 18:06 ` levon at movementarian dot org
2003-10-01 18:09 ` pinskia at gcc dot gnu dot org
2003-10-01 18:19 ` levon at movementarian dot org
2003-10-01 18:31 ` zack at gcc dot gnu dot org
2003-10-01 18:44 ` gdr at integrable-solutions dot net
2003-10-01 18:46 ` gdr at integrable-solutions dot net
2003-10-01 18:57 ` zack at gcc dot gnu dot org
2003-10-01 19:19 ` gdr at integrable-solutions dot net
2003-10-01 19:46 ` levon at movementarian dot org
2003-10-01 19:53 ` gdr at integrable-solutions dot net
2003-10-01 19:55 ` gdr at integrable-solutions dot net
2003-10-02  1:27 ` levon at movementarian dot org
2003-10-02  1:59 ` gdr at integrable-solutions dot net
2003-11-30  8:36 ` [Bug c++/12479] [3.4 only] " pinskia at gcc dot gnu dot org
2003-12-20  4:12 ` pinskia at gcc dot gnu dot org
2003-12-22  9:18 ` mmitchel at gcc dot gnu dot org
2003-12-22 19:21 ` cvs-commit at gcc dot gnu dot org
2003-12-22 19:26 ` mmitchel at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).