This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc.c: duplicate (and different) declarations of fatal
- To: egcs-bugs at cygnus dot com
- Subject: gcc.c: duplicate (and different) declarations of fatal
- From: Jim Meyering <meyering at ascend dot com>
- Date: 03 Feb 1999 14:26:05 -0600
This is from the latest CVS sources.
I ran cvs update a couple hours ago and found this by inspection.
If it doesn't already do so, gcc should warn about such conflicting
declarations.
$ grep -A1 'fatal.*PV' gcc.c
static void fatal PVPROTO((char *, ...)) ATTRIBUTE_NORETURN;
static void error PVPROTO((char *, ...));
static void fatal PVPROTO((char *, ...))
ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF_1;