Re: v16 fails to build w/ Visual Studio 2015 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: v16 fails to build w/ Visual Studio 2015
Date
Msg-id 99515c92-dd99-b728-0195-c38b8fd95d2f@eisentraut.org
Whole thread Raw
In response to Re: v16 fails to build w/ Visual Studio 2015  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: v16 fails to build w/ Visual Studio 2015
List pgsql-hackers
On 07.06.23 23:16, Tom Lane wrote:
> Noah Misch <noah@leadboat.com> writes:
>> Visual Studio 2015 version "14.0.25431.01 Update 3" has an apparent compiler
>> bug that causes the build to fail with "readfuncs.switch.c(522): fatal error
>> C1026: parser stack overflow, program too complex (compiling source file
>> src/backend/nodes/readfuncs.c)".  While I wouldn't mind revoking support for
>> Visual Studio 2015, changing the code to cope is easy.  See attached.
> 
> +1, I think this reads better anyway.

I kind of like the style where there is only one return at the end, 
because it makes it easier to inject debugging code that inspects the 
return value.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: v16 fails to build w/ Visual Studio 2015
Next
From: Andres Freund
Date:
Subject: Re: Let's make PostgreSQL multi-threaded