Re: Something in our JIT code is screwing up PG_PRINTF_ATTRIBUTE

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Something in our JIT code is screwing up PG_PRINTF_ATTRIBUTE
Дата
Msg-id 2910CE7A-62FE-4969-AF8F-E198EF0E1DDA@yesql.se
обсуждение исходный текст
Ответ на Re: Something in our JIT code is screwing up PG_PRINTF_ATTRIBUTE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> On 4 Dec 2025, at 19:01, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> On the other hand, aligning the C++ compiler with the C compiler
> is likely to avoid other problems, so maybe it's better to focus
> on making that happen.  I'm not sure how we'd do that automatically
> though.

It sounds pretty complicated to, with confidence, automatically detect this.
Maybe documenting that it's highly recommended to use matching C and C++
compilers is enough rather than spend cycles for every configure on a check
which may be susceptible to false negatives?

--
Daniel Gustafsson




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