Peter opens a can of worms

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Peter opens a can of worms
Дата
Msg-id 25314.947813571@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Peter opens a can of worms  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] [hackers]development suggestion needed
Следующее
От: Don Baccus
Дата:
Сообщение: Re: [HACKERS] [hackers]development suggestion needed