This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]