On 24.07.25 03:14, David Rowley wrote:
So, I think that means we can adjust the meson build scripts to pass
/std:c11 when building in MSVC. The attached patch does this and
defines a pg_builtin_constant() macro and adjusts ereport_domain() to
use it.
Please review my patch at
https://www.postgresql.org/message-id/ccb273c9-7544-4748-8638-30feba212...@eisentraut.org
https://commitfest.postgresql.org/patch/5934/
for C11 support across all platforms. Then we avoid the hybrid C99/C11
situation that your patch introduces.