diff options
author | Thomas Munro <tmunro@postgresql.org> | 2024-11-28 15:32:57 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2024-11-28 15:48:02 +1300 |
commit | 4112a259021598d1bf5c39456cc6d6238baab065 (patch) | |
tree | 48b81248309c61f8775a63876ad0572ee7d05938 | |
parent | 3aae60c851badb601df47f46ee459f047c998f59 (diff) |
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.
-rwxr-xr-x | src/tools/pginclude/cpluspluscheck | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/pginclude/cpluspluscheck b/src/tools/pginclude/cpluspluscheck index f75909d6dc6..a7d5dc48ec3 100755 --- a/src/tools/pginclude/cpluspluscheck +++ b/src/tools/pginclude/cpluspluscheck @@ -124,6 +124,9 @@ do test "$f" = src/pl/plpgsql/src/pl_gram.h && continue test "$f" = src/interfaces/ecpg/preproc/preproc.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 |