Re: more compile warnings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Dann Corbit <DCorbit(at)connx(dot)com>, Joe Conway <mail(at)joeconway(dot)com>, rbt(at)zort(dot)ca, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: more compile warnings
Date: 2002-12-07 21:14:37
Message-ID: 19275.1039295677@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 2002-12-08 00:20:19 Re: [GENERAL] PostgreSQL Global Development Group Announces
Previous Message Tom Lane 2002-12-07 21:11:36 Re: IPv6 patch rejected