Re: Add "-Wimplicit-fallthrough" to default flags
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andy Fan <zhihui.fan1213@gmail.com>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, Julien Rouhaud <rjuju123@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-05-13T16:04:40Z
Lists: pgsql-hackers
On 2020-May-13, Tom Lane wrote: > Alvaro Herrera <alvherre@2ndquadrant.com> writes: > >> 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. > > Let's just go to level 3 overall (and revert the changes you made for > level 4 compliance --- they're more likely to cause back-patching > pain than do anything useful). Ok. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Dial back -Wimplicit-fallthrough to level 3
- 17cc133f017c 13.0 landed
-
Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS
- 3e9744465dbe 13.0 landed
-
Suppress -Wimplicit-fallthrough warning in new LIMIT WITH TIES code.
- 35cb574aa847 13.0 landed
-
Support FETCH FIRST WITH TIES
- 357889eb17bb 13.0 cited