Re: Change copyObject() to use typeof_unqual

Поиск
Список
Период
Сортировка
От Jelte Fennema-Nio
Тема Re: Change copyObject() to use typeof_unqual
Дата
Msg-id DH2JQUIHV61C.X98B5WL6SUK1@jeltef.nl
обсуждение исходный текст
Ответ на Re: Change copyObject() to use typeof_unqual  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
On Sat, 14 Mar 2026 at 14:03, Peter Eisentraut <peter@eisentraut.org> wrote:
> This doesn't appear to work in this example program:

Ugh, I should not send emails end of day on a friday in a rush.

Attached is fixed v3 which uses ::type instead.

I was able to reproduce the compilation errors on my machine by using
CXXFLAGS='-std=c++11' when configuring meson, and this patch fixes them.
I think it would be good if we would run one of our CI jobs in c11 and
c++11 (non-gnu) mode so we catch these kind of issues before hitting the
build farm.

Вложения

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