From: Tom Lane Date: Sat, 4 Oct 2008 02:19:08 +0000 (+0000) Subject: Add a note about how to check for bare < and & in SGML docs, before the X-Git-Tag: recoveryinfrav9~582 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=3ee27d24abb675aa17f7bb9bd1f504ad917304ef;p=users%2Fsimon%2Fpostgres.git Add a note about how to check for bare < and & in SGML docs, before the knowledge disappears again. --- diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index a12af29bf8..b3cf38d7e9 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -53,6 +53,9 @@ endif # Enable some extra warnings # -wfully-tagged needed to throw a warning on missing tags # for older tool chains, 2007-08-31 +# 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 ##