pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Disable some C++ warnings in MSVC
Date: Tue, 31 Mar 2026 06:47:07 +0000
Message-ID: <E1w7SsV-002GbX-0D@gemulon.postgresql.org> (raw)

Disable some C++ warnings in MSVC

Flexible array members, as used in many PostgreSQL header files, are
not a C++ feature.  MSVC warns about these.  Disable the
warning.  (GCC and Clang accept them, but they would warn in -pedantic
mode.)

Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/CAGECzQR21OnnKiZO_1rLWO0-16kg1JBxnVq-wymYW0-_1cUNtg%40mai...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/82a7cbea747c465eee8449587be2d6cc47af82fe

Modified Files
--------------
meson.build | 3 +++
1 file changed, 3 insertions(+)



Message-ID: <E1w7SsV-002GbX-0D@gemulon.postgresql.org>
Permalink:  ../E1w7SsV-002GbX-0D@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w7SsV-002GbX-0D@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Disable some C++ warnings in MSVC
  In-Reply-To: <E1w7SsV-002GbX-0D@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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