Re: ecpg compile error on AIX - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: ecpg compile error on AIX
Date
Msg-id 200201080348.g083m4w09911@candle.pha.pa.us
Whole thread Raw
In response to Re: ecpg compile error on AIX  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Sean Chittenden
Date:
Subject: Re: again on index usage
Next
From: Jan Wieck
Date:
Subject: Re: RC1 time?