pgsql: Disable some C++ warnings in MSVC

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Disable some C++ warnings in MSVC
Date: 2026-03-31 06:47:07
Message-ID: E1w7SsV-002GbX-0D@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)jeltef(dot)nl>
Discussion: https://www.postgresql.org/message-id/flat/CAGECzQR21OnnKiZO_1rLWO0-16kg1JBxnVq-wymYW0-_1cUNtg%40mail.gmail.com

Branch
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Langote 2026-03-31 07:17:31 Re: pgsql: Add fast path for foreign key constraint checks
Previous Message Pavel Stehule 2026-03-31 05:06:51 Re: pgsql: Change syntax of EXCEPT TABLE clause in publication commands.