8000 Add -wnet to SP invocations · koderP/postgres@2d7e35b · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d7e35b

Browse files
committed
Add -wnet to SP invocations
This causes a warning when accidentally backpatching an XML-style empty-element tag like <xref linkend="abc"/>.
1 parent 1da48a9 commit 2d7e35b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,11 @@ endif
7272
# Enable some extra warnings
7373
# -wfully-tagged needed to throw a warning on missing tags
7474
# for older tool chains, 2007-08-31
75+
# -wnet catches XML-style empty-element tags like <xref linkend="abc"/>.
7576
# Note: try "make SPFLAGS=-wxml" to catch a lot of other dubious constructs,
7677
# in particular < and & that haven't been made into entities. It's far too
7778
# noisy to turn on by default, unfortunately.
78-
override SPFLAGS += -wall -wno-unused-param -wno-empty -wfully-tagged
79+
override SPFLAGS += -wall -wno-unused-param -wno-empty -wfully-tagged -wnet
7980

8081
##
8182
## Man pages

0 commit comments

Comments
 (0)
0