Re: C11 / VS 2019

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Cc: 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 15:08:27
Message-ID: 04ab76a3-186c-4a37-8076-e6882ebf9d43@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 07.07.25 16:13, Tom Lane wrote:
> Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> writes:
>> On Mon, 7 Jul 2025 at 13:51, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
>>> Hmm. We have the (allegedly) same VS version in Cirrus CI, and it's
>>> never shown a problem like this.
>
>> CI uses the latest VS 2019 (v16.11.48), it looks like buildfarm member
>> drongo uses VS 2019 v16.3.1. I created a custom Windows VM with the
>> same VS 2019 version (v16.3.1) at the drongo and CI failed with the
>> same error [1].
>
> 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? I think
> whether we can say "get a newer compiler" depends in part on how
> long it's been fixed.

I tried doing that now, but didn't find anything fitting.

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

Also, there is the support timeline [1] that shows that anything older
than 16.11.* is way out of support.

[0]:
https://learn.microsoft.com/en-us/cpp/preprocessor/preprocessor-experimental-overview?view=msvc-170

[1]:
https://learn.microsoft.com/en-us/visualstudio/releases/2019/servicing-vs2019

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrei Lepikhov 2025-07-07 15:13:27 Re: Memory consumed by paths during partitionwise join planning
Previous Message Bertrand Drouvot 2025-07-07 15:07:12 Re: Adding wait events statistics