8000 Add -wnet to SP invocations · iCalistus/postgres@18d431b · GitHub
[go: up one dir, main page]

Skip to content

Commit 18d431b

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 b2ad6f9 commit 18d431b

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
@@ -64,10 +64,11 @@ endif
6464
# Enable some extra warnings
6565
# -wfully-tagged needed to throw a warning on missing tags
6666
# for older tool chains, 2007-08-31
67+
# -wnet catches XML-style empty-element tags like <xref linkend="abc"/>.
6768
# Note: try "make SPFLAGS=-wxml" to catch a lot of other dubious constructs,
6869
# in particular < and & that haven't been made into entities. It's far too
6970
# noisy to turn on by default, unfortunately.
70-
override SPFLAGS += -wall -wno-unused-param -wno-empty -wfully-tagged
71+
override SPFLAGS += -wall -wno-unused-param -wno-empty -wfully-tagged -wnet
7172

7273
##
7374
## Man pages

0 commit comments

Comments
 (0)
0