Re: Build failure with GCC 15 (defaults to -std=gnu23)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Build failure with GCC 15 (defaults to -std=gnu23)
Дата
Msg-id 3073930.1731867112@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Build failure with GCC 15 (defaults to -std=gnu23)  (Sam James <sam@gentoo.org>)
Ответы Re: Build failure with GCC 15 (defaults to -std=gnu23)
Список pgsql-bugs
Sam James <sam@gentoo.org> writes:
> postgres-17.1 fails to build with upcoming GCC 15 which defaults to
> -std=gnu23 as follows:

I do not think we claim to support C23 yet.

Having said that, I can reproduce this on gcc 14 using -std=gnu23.
It appears that configure is deciding that <stdbool.h> is not
conformant to C99 because it doesn't declare "bool" as a macro.
Did C23 really remove that !?

            regards, tom lane



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