postgres.git / summary / log / commit / refs
commit 06d601edc7b82ecdc24e48305f9808a3b5425752
Author: Thomas Munro <tmunro@postgresql.org>
Date: Thu Nov 28 02:32:57 2024 +0000
First released in: 13.19, 14.16, 15.11, 16.7
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 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/tools/pginclude/cpluspluscheck b/src/tools/pginclude/cpluspluscheck
index 4e09c4686b3..b0ec08c034b 100755
--- a/src/tools/pginclude/cpluspluscheck
+++ b/src/tools/pginclude/cpluspluscheck
@@ -134,6 +134,9 @@ do
test "$f" = src/interfaces/ecpg/preproc/preproc.h && continue
test "$f" = src/test/isolation/specparse.h && continue
+ # SectionMemoryManager.h is C++
+ test "$f" = src/include/jit/SectionMemoryManager.h && continue
+
# ppport.h is not under our control, so we can't make it standalone.
test "$f" = src/pl/plperl/ppport.h && continue
[parent: 76653134ae87]