| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: alignas (C11) |
| Date: | 2026-01-29 21:19:27 |
| Message-ID: | 1363306.1769721567@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Peter Eisentraut <peter(at)eisentraut(dot)org> writes:
> Well, in C11, alignas is itself a macro (defined to _Alignas). I
> suppose not in C++ though. That seems too tricky, though. I went with
> your original proposal of disabling the affected typedefs on the
> affected platform. That seems safest. These types aren't likely to be
> used in extensions anyway, so this should have minimal practical impact.
I suspected that we'd have to supply the types as abstract structs
per my earlier suggestion, and just found a good reason why:
"headerscheck --cplusplus" is failing for me on RHEL8, because it
tries to parse all headers under C++. This is blocking progress on
another patch, so I went ahead and committed the addition.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Smith | 2026-01-29 21:36:53 | Re: Skipping schema changes in publication |
| Previous Message | David G. Johnston | 2026-01-29 21:18:14 | Re: Document NULL |