Re: v16 fails to build w/ Visual Studio 2015

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: v16 fails to build w/ Visual Studio 2015
Дата
Msg-id 99515c92-dd99-b728-0195-c38b8fd95d2f@eisentraut.org
обсуждение исходный текст
Ответ на 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  (Michael Paquier <michael@paquier.xyz>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: v16 fails to build w/ Visual Studio 2015
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Let's make PostgreSQL multi-threaded