Re: C11 / VS 2019

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: C11 / VS 2019
Date: 2025-07-07 16:01:19
Message-ID: 399300.1751904079@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(at)eisentraut(dot)org> writes:
> On 07.07.25 16:13, Tom Lane wrote:
>> Huh. Can we trawl the release notes for VS and see if this was
>> acknowledged as a bug fix, and if so when did it happen?

> But this one [0] seems to indicate you might need at least 16.5 for this.

Ah, that says

Starting in Visual Studio 2019 version 16.5, preprocessor support
for the C++20 standard is feature-complete. These changes are
available by using the /Zc:preprocessor compiler switch.

The reference to C++20 is a bit confusing in this context; does C++
really have a different preprocessor? But anyway, the support matrix
seems like a convincing argument that we don't have to support 16.3.
If Andrew is willing to update drongo, I'm content to leave it at
that.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-07-07 16:06:10 Re: cpluspluscheck vs ICU again
Previous Message Jacob Champion 2025-07-07 15:46:06 Re: [PATCH] Fix OAuth feature detection on OpenBSD+Meson