mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Add -wnet to SP invocations
This causes a warning when accidentally backpatching an XML-style empty-element tag like <xref linkend="abc"/>.
This commit is contained in:
parent
1aba8e651a
commit
9a8d3c4eea
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ ALLSGML := $(wildcard $(srcdir)/*.sgml $(srcdir)/ref/*.sgml) $(GENERATED_SGML)
|
|||
# Enable some extra warnings
|
||||
# -wfully-tagged needed to throw a warning on missing tags
|
||||
# for older tool chains, 2007-08-31
|
||||
override SPFLAGS += -wall -wno-unused-param -wfully-tagged
|
||||
# -wnet catches XML-style empty-element tags like <xref linkend="abc"/>.
|
||||
override SPFLAGS += -wall -wno-unused-param -wfully-tagged -wnet
|
||||
# Additional warnings for XML compatibility. The conditional is meant
|
||||
# to detect whether we are using OpenSP rather than the ancient
|
||||
# original SP.
|
||||
|
|
|
|||
Loading…
Reference in a new issue