Re: Add "-Wimplicit-fallthrough" to default flags

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Add "-Wimplicit-fallthrough" to default flags
Дата
Msg-id 20200513152357.GA5411@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Add "-Wimplicit-fallthrough" to default flags  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Add "-Wimplicit-fallthrough" to default flags  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2020-May-13, Tom Lane wrote:

> Andy Fan <zhihui.fan1213@gmail.com> writes:
> >> FWIW, I got a warning for jsonpath_gram.c.
> 
> Ugh.  Confirmed here on Fedora 30 (bison 3.0.5).

Ugh.

> > I just found this just serval minutes ago.  Upgrading your bison to the
> > latest version (3.6) is ok. I'd like we have a better way to share this
> > knowledge through.  I spend ~30 minutes to troubleshooting this issue.
> 
> I fear that is going to mean that we revert this patch.

Or we can filter-out the -Wimplicit-fallthrough, or change to level 3,
for bison-emitted files.


-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: SLRU statistics
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Do I understand commit timestamps correctly?