Further fix extended alignment for older g++.
Tom Lane <tgl@sss.pgh.pa.us>
Further fix extended alignment for older g++. Commit 6ceef9408 was still one brick shy of a load, because it caused any usage at all of PGIOAlignedBlock or PGAlignedXLogBlock to fail under older g++. Notably, this broke "headerscheck --cplusplus". We can permit references to these structs as abstract structs though; only actual declaration of such a variable needs to be forbidden. Discussion: https://www.postgresql.org/message-id/3119480.1769189606@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/include/c.h | modified | +6 −0 |
Discussion
- alignas (C11) 17 messages · 2025-11-12 → 2026-01-29