Re: [PATCH] fix compilation with gnu89

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] fix compilation with gnu89
Дата
Msg-id 1155714.1606712809@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] fix compilation with gnu89  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2020-11-29 20:33:41 -0800, Rosen Penev wrote:
>> GCC 4.8.5 does not default to gnu99 or gnu11 like the newer versions.

> We require C99 support since postgres 12, and configure should end up
> choosing flags to make the compiler support that if possible.

Hmm, yeah, that's a good point ... why didn't configure select
"-std=gnu99" for you?  This might boil down to trying to use
CFLAGS selected for one compiler with a different compiler.

            regards, tom lane



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

Предыдущее
От: Krunal Bauskar
Дата:
Сообщение: Re: Improving spin-lock implementation on ARM.
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Disable WAL logging to speed up data loading