This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17523] New: extra ';' warning on wrong line
- From: "timb at bluearc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2004 16:06:08 -0000
- Subject: [Bug c++/17523] New: extra ';' warning on wrong line
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With -pedantic, this:
-----
struct S {
S() {}
};
void f() {
S s;
};
-----
produces:
test.cpp:2: error: extra `;'
The extra ';' is actually on line 7.
--
Summary: extra ';' warning on wrong line
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: timb at bluearc dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i486-linux
GCC host triplet: i486-linux
GCC target triplet: i486-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17523