Re: pgsql: Fix incorrect format placeholder.

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: Fix incorrect format placeholder.
Дата
Msg-id YYpYkAw2k4cx2z1E@paquier.xyz
обсуждение исходный текст
Ответ на Re: pgsql: Fix incorrect format placeholder.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Fix incorrect format placeholder.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On Tue, Nov 09, 2021 at 01:06:26AM -0500, Tom Lane wrote:
> I figured the Perl guys would do something about it, but it will be a
> very long time before that propagates everywhere.  Maybe we should
> teach configure to add -Wno-compound-token-split-by-macro?  By my
> count there are now five buildfarm members besides dangomushi that
> are producing these warnings, and I think the number is going to
> go up before it goes down.
>
> (Meanwhile, I guess I could enable -Werror on florican.)

Yeah, you have a point here.  -Wcompound-token-split-by-macro is new
as of clang-12 from last April, so I am a bit surprised that it is
that present in the buildfarm TBH.

The attached is sufficient to remove those warnings.  Debian provides
clang-12, so it is easy to reproduce the problem.

What do you think?
--
Michael

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix incorrect format placeholder.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix incorrect format placeholder.