Skip to content

Commit cc25464

Browse files
committed
Add exclusion to headercheck
src/include/common/unicode_combining_table.h is currently not meant to be included standalone. Things could be refactored to allow it, but that would be beyond the present purpose. So adding an exclusion here seems best. Discussion: https://www.postgresql.org/message-id/10754.1579535012@sss.pgh.pa.us
1 parent a7a8488 commit cc25464

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/tools/pginclude/cpluspluscheck

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ do
110110
test "$f" = src/pl/plpython/spiexceptions.h && continue
111111
test "$f" = src/pl/tcl/pltclerrcodes.h && continue
112112

113+
# Also not meant to be included standalone.
114+
test "$f" = src/include/common/unicode_combining_table.h && continue
115+
113116
# We can't make these Bison output files compilable standalone
114117
# without using "%code require", which old Bison versions lack.
115118
# parser/gram.h will be included by parser/gramparse.h anyway.

src/tools/pginclude/headerscheck

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ do
106106
test "$f" = src/pl/plpython/spiexceptions.h && continue
107107
test "$f" = src/pl/tcl/pltclerrcodes.h && continue
108108

109+
# Also not meant to be included standalone.
110+
test "$f" = src/include/common/unicode_combining_table.h && continue
111+
109112
# We can't make these Bison output files compilable standalone
110113
# without using "%code require", which old Bison versions lack.
111114
# parser/gram.h will be included by parser/gramparse.h anyway.

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