Re: additional GCC warning flags

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: additional GCC warning flags
Дата
Msg-id 1098151150.1113.22.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: additional GCC warning flags  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: additional GCC warning flags  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: additional GCC warning flags  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
On Mon, 2004-10-18 at 21:43, Bruce Momjian wrote:
> FYI, I also use:
>
>     -Wpointer-arith -Wcast-align
>
> locally.  I think -Wcast-align throws errors on some platforms and can't
> be use generally.

-Wpointer-arith might be worth enabling. I'll add it to the GCC CFLAGS
in the next patch I send in.

As you said, -Wcast-align can't be enabled in general at the moment
because it flags a ton of warnings on certain platforms (at least on
IA64, probably other 64-bit platforms as well). I remember there were
some vague rumblings that fixing these issues, but I haven't heard
anything about that lately.

-Neil



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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: additional GCC warning flags
Следующее
От: Tom Lane
Дата:
Сообщение: Re: additional GCC warning flags