Re: -Wall and Wmissing-prototype

Поиск
Список
Период
Сортировка
От Dann Corbit
Тема Re: -Wall and Wmissing-prototype
Дата
Msg-id D90A5A6C612A39408103E6ECDD77B829BC0181@voyager.corporate.connx.com
обсуждение исходный текст
Ответ на -Wall and Wmissing-prototype  (Gaetano Mendola <mendola@bigfoot.com>)
Список pgsql-hackers
There are many warnings that do not show up with -Wall

I usually use at least:

-Wall -ansi -pedantic

These are also a good idea:

-Wimplicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Werror

You will also get additional warnings when optimization is turned on due
to flow analysis that you will not get in debug mode.

> -----Original Message-----
> From: Gaetano Mendola [mailto:mendola@bigfoot.com]
> Sent: Friday, May 28, 2004 3:31 PM
> To: pgsql-hackers@postgresql.org
> Subject: [HACKERS] -Wall and Wmissing-prototype
>
>
> Hi all,
> I compiled postgres7.5devel and I see that during
> compilation are used togheter:
> -Wall -Wmissing-proptotype -Wmissing-declaration
> there is any reason to specify after -Wall others
> warning ?
>
>
>
> Regards
> Gaetano Mendola
>
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>


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

Предыдущее
От: pgsql@mohawksoft.com
Дата:
Сообщение: Re: select like...not using index
Следующее
От: Jonathan Gardner
Дата:
Сообщение: Re: Extended customizing, SQL functions,