Re: Change copyObject() to use typeof_unqual

Поиск
Список
Период
Сортировка
От Jelte Fennema-Nio
Тема Re: Change copyObject() to use typeof_unqual
Дата
Msg-id DH504CLRFOBW.3FKN0ZDCG3U1S@jeltef.nl
обсуждение
Ответ на Re: Change copyObject() to use typeof_unqual  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Change copyObject() to use typeof_unqual
Re: Change copyObject() to use typeof_unqual
Список pgsql-hackers
On Tue Mar 17, 2026 at 3:39 AM CET, Tom Lane wrote:
> While this version of clang doesn't like typeof_unqual, it does take
> __typeof_unqual__.  So maybe we were premature to decide that we
> could prefer the typeof_unqual spelling.

Hmmm, that makes sense. How about this patch to at least keep the
all the logic related to this in one place? I was able to reproduce this
error using the following flags, and this fixes the issue for me.

CC=clang-21 CXX=clang++-21 CFLAGS=-std=c23 BITCODE_CFLAGS=-std=gnu17 CLANG=clang-19 LLVM_CONFIG=llvm-config-19


Вложения

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