summaryrefslogtreecommitdiff
path: root/doc/ref/api-evaluation.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-10-08 16:25:32 +0200
committerLudovic Courtès <ludo@gnu.org>2010-10-08 16:25:57 +0200
commit75365375dd72b9c5c213955ad866756727e72e19 (patch)
treecfed3fc4fcc0e5788d990de7fb4eed936062541e /doc/ref/api-evaluation.texi
parent7390e4bd11418371bc4a744e2eee1ca40b9c9531 (diff)
downloadguile-75365375dd72b9c5c213955ad866756727e72e19.tar.gz
Add `-Wformat'.
* module/language/tree-il/analyze.scm (format-string-argument-count): New procedure. (format-analysis): New tree analysis. * module/language/tree-il/compile-glil.scm (%warning-passes): Add `format'. * module/system/base/message.scm (%warning-types): Add `format'. * test-suite/tests/tree-il.test (%opts-w-format): New variable. ("warnings")["format"]: New test prefix. * doc/ref/api-evaluation.texi (Compilation): Mention `format' warnings.
Diffstat (limited to 'doc/ref/api-evaluation.texi')
-rw-r--r--doc/ref/api-evaluation.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/ref/api-evaluation.texi b/doc/ref/api-evaluation.texi
index 40875980a..022bc4886 100644
--- a/doc/ref/api-evaluation.texi
+++ b/doc/ref/api-evaluation.texi
@@ -570,10 +570,10 @@ in @code{.go}.
@item -W @var{warning}
@itemx --warn=@var{warning}
-Emit warnings of type @var{warning}; use @code{--warn=help} for a list of
-available warnings. Currently recognized warnings include
-@code{unused-variable}, @code{unused-toplevel}, @code{unbound-variable}, and
-@code{arity-mismatch}.
+Emit warnings of type @var{warning}; use @code{--warn=help} for a list
+of available warnings and their description. Currently recognized
+warnings include @code{unused-variable}, @code{unused-toplevel},
+@code{unbound-variable}, @code{arity-mismatch}, and @code{format}.
@item -f @var{lang}
@itemx --from=@var{lang}