gcc.c: duplicate (and different) declarations of fatal

Jim Meyering meyering@ascend.com
Wed Feb 3 12:23:00 GMT 1999


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;


More information about the Gcc-bugs mailing list