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

From Noah Misch
Subject v16 fails to build w/ Visual Studio 2015
Date
Msg-id 20230607185458.GA1334487@rfd.leadboat.com
Whole thread Raw
Responses Re: v16 fails to build w/ Visual Studio 2015
Re: v16 fails to build w/ Visual Studio 2015
List pgsql-hackers
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.
https://stackoverflow.com/a/34266725/16371536 asserts having confirmation of
the compiler bug, but its reference is now a dead link.  This became a problem
in v16 due to the 135% increase in node types known to parseNodeString().

https:/postgr.es/m/20221124004144.iosgze2qnmcctgsh@awork3.anarazel.de
previously reported this error message when overriding USE_READLINE in a
Visual Studio build, for tab-complete.c.  If that combination ever becomes
supported, we may face a similar decision there.

Attachment

pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: is pg_log_standby_snapshot() really needed?
Next
From: "Tristan Partin"
Date:
Subject: Re: Use COPY for populating all pgbench tables