pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix erroneous -Werror=missing-braces on old GCC
2+ messages / 2 participants
[nested] [flat]

* pgsql: Fix erroneous -Werror=missing-braces on old GCC
@ 2023-08-10 14:59 Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2023-08-10 14:59 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix erroneous -Werror=missing-braces on old GCC

The buildfarm reports that this is an error on gcc (Debian 4.7.2-5)
4.7.2, 32-bit. The bug seems to be GCC bug 53119, which has obviously
been fixed for years.

Author: Tristan Partin <tristan@neon.tech>
Discussion: https://www.postgresql.org/message-id/flat/CT6HJ3U8068R.3A8SJMV02D9BC@gonk

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5e0c761d0a13c7b4f7c5de618ac38560d74d74d0

Modified Files
--------------
src/bin/pgbench/pgbench.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix erroneous -Werror=missing-braces on old GCC.
@ 2023-12-25 04:36 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2023-12-25 04:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix erroneous -Werror=missing-braces on old GCC.

In the same spirit as 5e0c761d0 and some earlier commits,
suppress a chorus of buildfarm warnings about braces in
these initializers.

Richard Guo

Discussion: https://postgr.es/m/CAMbWs48GzM-Ff7vr=_CeqaXxFBB9UntqtaW1cjU8hOo62AbOOg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bad0763a4d7be3005eae35d460c73ac4bc7ebaad

Modified Files
--------------
src/common/blkreftable.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-12-25 04:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-08-10 14:59 pgsql: Fix erroneous -Werror=missing-braces on old GCC Peter Eisentraut <peter@eisentraut.org>
2023-12-25 04:36 pgsql: Fix erroneous -Werror=missing-braces on old GCC. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox