Re: more compile warnings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: more compile warnings
Date
Msg-id 19275.1039295677@sss.pgh.pa.us
Whole thread Raw
In response to Re: more compile warnings  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: more compile warnings
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> You would think that would catch it.  My problem is that I am compiling
> with -O0, because I compile all day and I don't care about optimization.

You should reconsider that.  At -O0 gcc doesn't do any flow analysis,
and thus you lose many important warnings.  I'd recommend -O1 at least.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: IPv6 patch rejected
Next
From: Vince Vielhaber
Date:
Subject: Re: [GENERAL] PostgreSQL Global Development Group Announces