On 15.03.26 16:28, Melanie Plageman wrote:
> On Sun, Mar 15, 2026 at 2:48 AM Peter Eisentraut <peter@eisentraut.org> wrote:
>>
>> Make typeof and typeof_unqual fallback definitions work on C++11
>>
>> These macros were unintentionally using C++14 features. This replaces
>> them with valid C++11 code.
>
> Seems like this broke at least canebrake [1]
>
> /home/bf/bf-build/canebrake/HEAD/pgsql.build/../pgsql/src/backend/bootstrap/bootstrap.c:1150:3:
> error: call to undeclared function '__typeof_unqual__'; ISO C99 and
> later do not support implicit function declarations
> [-Wimplicit-function-declaration]
> /home/bf/bf-build/canebrake/HEAD/pgsql.build/../pgsql/src/backend/bootstrap/bootstrap.c:1150:3:
> error: expected expression
Please see discussion here:
https://www.postgresql.org/message-id/ff129805-1516-478a-a438-145880165c58%40eisentraut.org