v16 fails to build w/ Visual Studio 2015

Поиск
Список
Период
Сортировка
От Noah Misch
Тема v16 fails to build w/ Visual Studio 2015
Дата
Msg-id 20230607185458.GA1334487@rfd.leadboat.com
обсуждение исходный текст
Ответы Re: v16 fails to build w/ Visual Studio 2015  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: v16 fails to build w/ Visual Studio 2015  (Andres Freund <andres@anarazel.de>)
Список 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.

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: is pg_log_standby_snapshot() really needed?
Следующее
От: "Tristan Partin"
Дата:
Сообщение: Re: Use COPY for populating all pgbench tables