Re: Change copyObject() to use typeof_unqual - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Change copyObject() to use typeof_unqual
Date
Msg-id 315159.1773715766@sss.pgh.pa.us
Whole thread Raw
In response to Re: Change copyObject() to use typeof_unqual  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> $ clang --version
> clang version 21.1.8 (Fedora 21.1.8-4.fc43)

> 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.  I can get it to build
> if I use __typeof_unqual__.

After further experimentation: it will take typeof_unqual with
"-std=c23" ... but, again, we are not passing it that switch,
and the default is evidently some older C version.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Change copyObject() to use typeof_unqual
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: POC: make mxidoff 64 bits