pgsql: Skip SectionMemoryManager.h in cpluspluscheck.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Skip SectionMemoryManager.h in cpluspluscheck.
Date: 2024-11-28 02:55:07
Message-ID: E1tGUgN-003qVl-Bz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/aa663d37c068cb6bffb363f74ff6c566ecd40543

Modified Files
--------------
src/tools/pginclude/cpluspluscheck | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-11-28 07:49:10 pgsql: Remove useless casts to (void *)
Previous Message Thomas Munro 2024-11-28 02:54:49 pgsql: Skip SectionMemoryManager.h in cpluspluscheck.