Disable some C++ warnings in MSVC
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-03-31T06:42:26Z
Releases:
19 (unreleased)
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
Files
| Path | Change | +/− |
|---|---|---|
| meson.build | modified | +3 −0 |
Discussion
- Make copyObject work in C++ 51 messages · 2025-12-05 → 2026-04-16