Skip to content

Commit 301b06d

Browse files
committed
Exclude nodetags.h from headerscheck and cpluspluscheck.
Since this file contains just a fragment of an enum declaration, it can't be compiled on its own.
1 parent 8eccaf6 commit 301b06d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/tools/pginclude/cpluspluscheck

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ do
9797
# sepgsql.h depends on headers that aren't there on most platforms.
9898
test "$f" = contrib/sepgsql/sepgsql.h && continue
9999

100+
# nodetags.h cannot be included standalone: it's just a code fragment.
101+
test "$f" = src/include/nodes/nodetags.h && continue
102+
test "$f" = src/backend/nodes/nodetags.h && continue
103+
100104
# These files are not meant to be included standalone, because
101105
# they contain lists that might have multiple use-cases.
102106
test "$f" = src/include/access/rmgrlist.h && continue

src/tools/pginclude/headerscheck

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ do
9393
# sepgsql.h depends on headers that aren't there on most platforms.
9494
test "$f" = contrib/sepgsql/sepgsql.h && continue
9595

96+
# nodetags.h cannot be included standalone: it's just a code fragment.
97+
test "$f" = src/include/nodes/nodetags.h && continue
98+
test "$f" = src/backend/nodes/nodetags.h && continue
99+
96100
# These files are not meant to be included standalone, because
97101
# they contain lists that might have multiple use-cases.
98102
test "$f" = src/include/access/rmgrlist.h && continue

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