Peter opens a can of worms - Mailing list pgsql-hackers

From Tom Lane
Subject Peter opens a can of worms
Date
Msg-id 25314.947813571@sss.pgh.pa.us
Whole thread Raw
Responses Re: Peter opens a can of worms
List pgsql-hackers
Peter E writes (in elog.h):

+ #ifndef __GNUC__ extern void elog(int lev, const char *fmt, ...);
+ #else
+ /* This extension allows gcc to check the format string for consistency with
+    the supplied arguments. */
+ extern void elog(int lev, const char *fmt, ...) __attribute__ ((format (printf
, 2, 3)));
+ #endif

Cool.  Now who's going to fix the cartload of warnings this has
produced?  I'm counting about 125 of them.  They should be fixed,
on grounds of portability, but the main problem right now is that
it's difficult to see the *real* warnings because of all these
guys...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] [hackers]development suggestion needed
Next
From: Don Baccus
Date:
Subject: Re: [HACKERS] [hackers]development suggestion needed