| From: | Melanie Plageman <melanieplageman(at)gmail(dot)com> |
|---|---|
| To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
| Cc: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: pgsql: Make typeof and typeof_unqual fallback definitions work on C++11 |
| Date: | 2026-03-15 15:28:12 |
| Message-ID: | CAAKRu_YBRnM0VuREmBL7coMBG4z016qhVS_usBH4FeVkAETc1g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
On Sun, Mar 15, 2026 at 2:48 AM Peter Eisentraut <peter(at)eisentraut(dot)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
- Melanie
[1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?dt=2026-03-13+20%3A54%3A31&nm=canebrake
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2026-03-15 16:15:20 | pgsql: pg_restore: Remove dead code in restore_all_databases() |
| Previous Message | Melanie Plageman | 2026-03-15 15:11:24 | pgsql: Save vmbuffer in heap-specific scan descriptors for on-access pr |