Re: Annoying build warnings from latest Apple toolchain

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Annoying build warnings from latest Apple toolchain
Дата
Msg-id 20231006190438.gvnx5avdwrcvuhyb@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Annoying build warnings from latest Apple toolchain  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Annoying build warnings from latest Apple toolchain
Список pgsql-hackers
Hi,

On 2023-10-05 13:37:38 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > I think you can just pass c_args directly to executable() here, I think adding
> > c_args to default_bin_args would be a bad idea.
> 
> Hm.  IIUC that would result in an error if someone did try to
> put some c_args into default_bin_args, and I didn't think it would
> be appropriate for this code to fail in such a case.  Still, I see
> there are a bunch of other ways to inject globally-used compilation
> flags, so maybe you're right that it'd never need to happen.

I think the other ways of injecting c_args compose better (and indeed other
options are either injected globally, or via declare_dependency()).

Greetings,

Andres Freund



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

Предыдущее
От: Pavel Borisov
Дата:
Сообщение: Re: Index range search optimization
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Pre-proposal: unicode normalized text