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