Re: C11 / VS 2019

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, 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:09:29
Message-ID: 170d2b54-7fcf-4ea1-b83f-a86b946e1427@dunslane.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2025-07-07 Mo 12:01 PM, Tom Lane wrote:
> 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.
>
>

It's done and running. Testing before I re-enabled the animal it shows
it was happy.

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robin Haberkorn 2025-07-07 16:15:52 Re: [PATCH] contrib/xml2: xslt_process() should report XSLT-related error details
Previous Message Tom Lane 2025-07-07 16:06:10 Re: cpluspluscheck vs ICU again