Re: C11 / VS 2019 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: C11 / VS 2019
Date
Msg-id 399300.1751904079@sss.pgh.pa.us
Whole thread Raw
In response to Re: C11 / VS 2019  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: C11 / VS 2019
List pgsql-hackers
Peter Eisentraut <peter@eisentraut.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



pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: [PATCH] Fix OAuth feature detection on OpenBSD+Meson
Next
From: Tom Lane
Date:
Subject: Re: cpluspluscheck vs ICU again