diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-09-24 20:41:47 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-09-24 20:41:47 +0200 |
commit | 59f0eea7b001e3f5d38fd84a9ee5482a23be56e2 (patch) | |
tree | 69b0aaff9b5980dfdec25ac0f7c91c9cc2550cce | |
parent | cd838e200880c6f52c5b5e30887e5ff584876bef (diff) | |
download | postgresql-59f0eea7b001e3f5d38fd84a9ee5482a23be56e2.tar.gz postgresql-59f0eea7b001e3f5d38fd84a9ee5482a23be56e2.zip |
Add further excludes to headerscheck
Some header files under contrib/isn/ are not meant to be included
independently, and they fail -Wmissing-variable-declarations when
doing so.
Reported-by: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CA%2BhUKG%2BYVt5MBD-w0HyHpsGb4U8RNge3DvAbDmOFy_epGhZ2Mg%40mail.gmail.com#aba3226c6dd493923bd6ce95d25a2d77
-rwxr-xr-x | src/tools/pginclude/headerscheck | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/pginclude/headerscheck b/src/tools/pginclude/headerscheck index 436e2b92a33..3fc737d2cc1 100755 --- a/src/tools/pginclude/headerscheck +++ b/src/tools/pginclude/headerscheck @@ -138,6 +138,12 @@ do test "$f" = src/pl/tcl/pltclerrcodes.h && continue # Also not meant to be included standalone. + test "$f" = contrib/isn/EAN13.h && continue + test "$f" = contrib/isn/ISBN.h && continue + test "$f" = contrib/isn/ISMN.h && continue + test "$f" = contrib/isn/ISSN.h && continue + test "$f" = contrib/isn/UPC.h && continue + test "$f" = src/include/common/unicode_nonspacing_table.h && continue test "$f" = src/include/common/unicode_east_asian_fw_table.h && continue |