This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14133] New: Duplicate diagnostics on redeclaration
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2004 21:56:50 -0000
- Subject: [Bug c/14133] New: Duplicate diagnostics on redeclaration
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
void f();
void f(int, ...);
yields duplicate diagnostics:
t-dupdiag.c:2: error: conflicting types for 'f'
t-dupdiag.c:2: note: a parameter list with an ellipsis can't match an empty
parameter name list declaration
t-dupdiag.c:1: error: previous declaration of 'f' was here
t-dupdiag.c:2: error: conflicting types for 'f'
t-dupdiag.c:2: note: a parameter list with an ellipsis can't match an empty
parameter name list declaration
t-dupdiag.c:1: error: previous declaration of 'f' was here
Caused by one of Zack's patches. Previously mentioned in mail but
now filing a bug to track it as a regression.
--
Summary: Duplicate diagnostics on redeclaration
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: zack at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14133