Skip to content

Commit 59f0eea

Browse files
committed
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
1 parent cd838e2 commit 59f0eea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tools/pginclude/headerscheck

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ do
138138
test "$f" = src/pl/tcl/pltclerrcodes.h && continue
139139

140140
# Also not meant to be included standalone.
141+
test "$f" = contrib/isn/EAN13.h && continue
142+
test "$f" = contrib/isn/ISBN.h && continue
143+
test "$f" = contrib/isn/ISMN.h && continue
144+
test "$f" = contrib/isn/ISSN.h && continue
145+
test "$f" = contrib/isn/UPC.h && continue
146+
141147
test "$f" = src/include/common/unicode_nonspacing_table.h && continue
142148
test "$f" = src/include/common/unicode_east_asian_fw_table.h && continue
143149

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy