Re: Fixing MSVC's inability to detect elog(ERROR) does not return

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Fixing MSVC's inability to detect elog(ERROR) does not return
Дата
Msg-id d38be90a-3e7a-42e0-a844-a7a122392c7e@eisentraut.org
обсуждение исходный текст
Ответ на Fixing MSVC's inability to detect elog(ERROR) does not return  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On 24.07.25 03:14, David Rowley wrote:
> So, I think that means we can adjust the meson build scripts to pass
> /std:c11 when building in MSVC. The attached patch does this and
> defines a pg_builtin_constant() macro and adjusts ereport_domain() to
> use it.

Please review my patch at

https://www.postgresql.org/message-id/ccb273c9-7544-4748-8638-30feba212e6e@eisentraut.org
https://commitfest.postgresql.org/patch/5934/

for C11 support across all platforms.  Then we avoid the hybrid C99/C11 
situation that your patch introduces.




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