| From: | "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl> |
|---|---|
| To: | "Peter Eisentraut" <peter(at)eisentraut(dot)org> |
| Cc: | "Daniel Gustafsson" <daniel(at)yesql(dot)se>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Change copyObject() to use typeof_unqual |
| Date: | 2026-03-14 13:41:08 |
| Message-ID: | DH2JQUIHV61C.X98B5WL6SUK1@jeltef.nl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, 14 Mar 2026 at 14:03, Peter Eisentraut <peter(at)eisentraut(dot)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.
| Attachment | Content-Type | Size |
|---|---|---|
| v3-0001-Make-typeof-and-typeof_unqual-fallback-definition.patch | text/x-patch | 1.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jelte Fennema-Nio | 2026-03-14 13:48:58 | Re: Safer hash table initialization macro |
| Previous Message | Peter Eisentraut | 2026-03-14 13:03:05 | Re: Change copyObject() to use typeof_unqual |