From: | Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Add "-Wimplicit-fallthrough" to default flags |
Date: | 2020-05-15 00:24:23 |
Message-ID: | CAKU4AWqOY_RHONzL1VJveUYb1qNUTTZ1ahFvUsfnb24jdBRmHQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Wed, May 13, 2020 at 10:02 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com> writes:
> >> FWIW, I got a warning for jsonpath_gram.c.
>
> Ugh. Confirmed here on Fedora 30 (bison 3.0.5).
>
> > 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.
> We are *NOT* moving the minimum bison requirement for this,
> especially not to a bleeding-edge bison version.
Yes, I didn't mean revert the patch, but I was thinking moving the minimum
bison. But since down to the warning level 3 also resolved the issue,
looks it is a better way to do it.
(On the other hand, if you have an old bison,
>
you likely also have an old gcc that doesn't know this warning
> switch, so maybe it'd be all right in practice?)
>
>
I just use an old bision and a newer gcc:( and I used "echo "COPT=-Wall
-Werror"
> src/Makefile.custom" which is same as our cfbot system. Thank you all
for so quick
fix!
Best Regards
Andy Fan
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2020-05-15 02:36:31 | pgsql: docs: PG 13 relnotes: add links and SGML formatting |
Previous Message | Michael Paquier | 2020-05-14 23:21:31 | pgsql: Remove duplicated comment block in event_trigger.c |
From | Date | Subject | |
---|---|---|---|
Next Message | Atsushi Torikoshi | 2020-05-15 00:50:41 | Re: Add explanations which are influenced by track_io_timing |
Previous Message | Kyotaro Horiguchi | 2020-05-15 00:03:33 | Re: MultiXact\SLRU buffers configuration |