Skip to content

Commit 4112a25

Browse files
committed
Skip SectionMemoryManager.h in cpluspluscheck.
Commit 9044fc1 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 7b8e2ae, 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.
1 parent 3aae60c commit 4112a25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/pginclude/cpluspluscheck

+3
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ do
124124
test "$f" = src/pl/plpgsql/src/pl_gram.h && continue
125125
test "$f" = src/interfaces/ecpg/preproc/preproc.h && continue
126126

127+
# SectionMemoryManager.h is C++
128+
test "$f" = src/include/jit/SectionMemoryManager.h && continue
129+
127130
# ppport.h is not under our control, so we can't make it standalone.
128131
test "$f" = src/pl/plperl/ppport.h && continue
129132

0 commit comments

Comments
 (0)