Re: additional GCC warnings

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: additional GCC warnings
Дата
Msg-id 1098068475.22986.127.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: additional GCC warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 2004-10-18 at 12:03, Tom Lane wrote:
> > We've always used -Wmissing-prototypes.
> 
> We've always used both.

My apologies -- I don't know where I got the opposite impression.

> Hmm, it looks like -Wmissing-prototypes may be a superset of
> -Wmissing-declarations --- it seems to say that the latter will be
> content with a K&R style declaration ("extern int foo();") but the
> former will not.  If that's a correct reading then we could drop
> -Wmissing-declarations.

Ok, that makes sense.

-Neil




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: additional GCC warnings
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Open Items