Re: ecpg compile error on AIX

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: ecpg compile error on AIX
Дата
Msg-id 200201080348.g083m4w09911@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: ecpg compile error on AIX  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut wrote:
> Bruce Momjian writes:
> 
> > > It occurs to me that we ought to add -Wpointer-arith to our standard
> > > gcc options, so that this sort of mistake will be caught sooner in
> > > future.
> 
> I agree with that.  Actually, I could never imagine how one would use
> sizeof(void*) in the first place.  I guess one can.

So I should add -Wpointer-arith to standard gcc compiles, but not
-Wcast-align because it generates too many warnings on some platforms. 
Is this right?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: again on index usage
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: RC1 time?