]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Disable some C++ warnings in MSVC
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 31 Mar 2026 06:38:24 +0000 (08:38 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 31 Mar 2026 06:42:26 +0000 (08:42 +0200)
commit82a7cbea747c465eee8449587be2d6cc47af82fe
tree27802aa42de266a29ce701b450683a8281bf6f8b
parent4c83f1253593ef46a0a190afb8ecead21f483196
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%40mail.gmail.com
meson.build