Re: Add -Wold-style-definition to CFLAGS?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add -Wold-style-definition to CFLAGS?
Дата
Msg-id 19295.1589065916@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Add -Wold-style-definition to CFLAGS?  (Andres Freund <andres@anarazel.de>)
Ответы Re: Add -Wold-style-definition to CFLAGS?  (Michael Paquier <michael@paquier.xyz>)
Re: Add -Wold-style-definition to CFLAGS?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Add -Wold-style-definition to CFLAGS?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2020-05-09 14:15:01 -0400, Tom Lane wrote:
>> Andres Freund <andres@anarazel.de> writes:
>>> Since gcc has a warning detecting such definition, I think we ought to
>>> automatically add it when available?

>> +1

> Any opinion about waiting for branching or not?

I'd be OK with pushing it now, but I dunno about other people.

If we do want to push this sort of thing now, the nearby changes
to enable fallthrough warnings should go in too.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: [PATCH] Incremental sort (was: PoC: Partial sort)
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Add -Wold-style-definition to CFLAGS?