diff options
author | Peter Eisentraut | 2017-11-09 22:06:32 +0000 |
---|---|---|
committer | Peter Eisentraut | 2017-11-10 13:32:35 +0000 |
commit | 18d431bda22f1b0f9ad758338a282705ab6b21b5 (patch) | |
tree | 935219b0c92472c93ed082245f4f108b8111f0c8 | |
parent | b2ad6f9e2614f80e6dd88fe584e3aefac52cc454 (diff) |
Add -wnet to SP invocations
This causes a warning when accidentally backpatching an XML-style
empty-element tag like <xref linkend="abc"/>.
-rw-r--r-- | doc/src/sgml/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 271c700065c..b5c04c3fce8 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -64,10 +64,11 @@ endif # Enable some extra warnings # -wfully-tagged needed to throw a warning on missing tags # for older tool chains, 2007-08-31 +# -wnet catches XML-style empty-element tags like <xref linkend="abc"/>. # Note: try "make SPFLAGS=-wxml" to catch a lot of other dubious constructs, # in particular < and & that haven't been made into entities. It's far too # noisy to turn on by default, unfortunately. -override SPFLAGS += -wall -wno-unused-param -wno-empty -wfully-tagged +override SPFLAGS += -wall -wno-unused-param -wno-empty -wfully-tagged -wnet ## ## Man pages |