Content-Length: 289873 | pFad | http://github.com/postgrespro/postgres/commit/cc25464763f0211e59a209eb50a7b7a79449051f

9D Add exclusion to headercheck · postgrespro/postgres@cc25464 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/cc25464763f0211e59a209eb50a7b7a79449051f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy