| От | Tom Lane |
|---|---|
| Тема | Peter opens a can of worms |
| Дата | |
| Msg-id | 25314.947813571@sss.pgh.pa.us обсуждение исходный текст |
| Ответы |
Re: Peter opens a can of worms
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера