]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Further fix extended alignment for older g++.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Jan 2026 21:16:36 +0000 (16:16 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Jan 2026 21:16:36 +0000 (16:16 -0500)
commitbd9dfac8b121e67d7dd4a9bfecb1474fe6811927
tree95c690232e0537ff53cb0dabef09f1e8743687ee
parentde90bb7db1f8c7ab1289f82f877a6e18f7b3d468
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
src/include/c.h