| От | Jeroen T. Vermeulen |
|---|---|
| Тема | Re: additional GCC warnings |
| Дата | |
| Msg-id | 20041018114708.GE73992@xs4all.nl обсуждение |
| Ответ на | Re: additional GCC warnings (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: additional GCC warnings
|
| Список | pgsql-hackers |
On Sun, Oct 17, 2004 at 01:50:46PM -0400, Tom Lane wrote: > > -Wdeclaration-after-statement (Recent versions of GCC allow declarations > > and statements to be intermixed in C; enabling this flag would enforce > > the current convention of avoiding this style.) > > Ick. If the default is to allow that, then yes we need a warning. > I'd be fairly annoyed if it's not an error, in fact. IIRC it's a new feature in C99. If that is the case, you may want to tell gcc simply to compile an older C dialect and get errors for all such newfangled code. Jeroen
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера