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?
Re: Add -Wold-style-definition to CFLAGS? Re: Add -Wold-style-definition to CFLAGS? |
| Список | 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 по дате отправления: