]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Skip SectionMemoryManager.h in cpluspluscheck.
authorThomas Munro <tmunro@postgresql.org>
Thu, 28 Nov 2024 02:32:57 +0000 (15:32 +1300)
committerThomas Munro <tmunro@postgresql.org>
Thu, 28 Nov 2024 02:47:17 +0000 (15:47 +1300)
commitb792aa989bb80ae924867e311d456c9875411828
tree608e453ff1b12e2d0e6643174d29fbecae231547
parent6d1183515e4fca753eea69b0349766e81248bdb4
Skip SectionMemoryManager.h in cpluspluscheck.

Commit 9044fc1d45a0 skipped SectionMemoryManager.h in headerscheck, and
by extension also cpluspluscheck, because it's C++ and would fail both
tests.  That worked in master and REL_17_STABLE due to 7b8e2ae2fd3b, but
older branches have a separate cpluspluscheck script.  We need to copy
the filtering rule into there too.

This problem was being reported by CI's CompilerWarnings task in the 15
and 16 branches, but was a victim of alert fatigue syndrome (unrelated
problems in the back-branches).

Fix 16, and back-patch to 13, as those are the live branches that have a
separate cpluspluscheck script.
src/tools/pginclude/cpluspluscheck