Re: additional GCC warning flags

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: additional GCC warning flags
Дата
Msg-id 200410191940.56768.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: additional GCC warning flags  (Neil Conway <neilc@samurai.com>)
Ответы Re: additional GCC warning flags  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список 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 по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pg_regress --temp-keep
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: additional GCC warning flags