Re: additional GCC warning flags - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: additional GCC warning flags
Date
Msg-id 200410191940.56768.peter_e@gmx.net
Whole thread Raw
In response to Re: additional GCC warning flags  (Neil Conway <neilc@samurai.com>)
Responses Re: additional GCC warning flags  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-patches
Neil Conway wrote:
> Attached is a revised patch. Changes:

Another word from the wise: Never write "recent" in code designed for
longevity. :)

> BTW, since we're on the topic of compiler options, is there a reason
> we don't use -g3 with GCC when --enable-debug is specified? It seems
> worth using to me.

I'm sure we could discuss dozens of compiler options.  Don't even start
on the -march ones.  I think in the interest of compatibility with the
rest of the world we should stick with the basic levels of
optimization, debugging, and warning that make most people reasonably
happy and let the users worry about the rest in their own time.  I'm
already not so happy about the new warning options, because they make
the compile lines too long.  How's that for an argument? ;-)

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-patches by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pg_regress --temp-keep
Next
From: Alvaro Herrera
Date:
Subject: Re: additional GCC warning flags