From 85f6993aa94a87689fb1c4d49e5be4f271cb97d1 Mon Sep 17 00:00:00 2001 From: James Youngman Date: Thu, 8 Apr 2010 03:02:12 +0100 Subject: [PATCH] Add missing parenthesis in manywarnings example --- ChangeLog | 5 +++++ doc/manywarnings.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4957393b5..e89c1083c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-08 James Youngman + + * doc/manywarnings.texi (manywarnings): Add missing parenthesis in + the example. + 2010-04-09 Jim Meyering maint.mk: print better diagnostic when there is no $(_hv_file) diff --git a/doc/manywarnings.texi b/doc/manywarnings.texi index d3edf1fb5..cb2cf295e 100644 --- a/doc/manywarnings.texi +++ b/doc/manywarnings.texi @@ -18,7 +18,7 @@ nw="$nw -Wtraditional" # All compilers nowadays support ANSI C nw="$nw -Wconversion" # These warnings usually don't point to mistakes. nw="$nw -Wsign-conversion" # Likewise. # Enable all GCC warnings not in this list. -gl_MANYWARN_COMPLEMENT[warnings], [$warnings], [$nw]) +gl_MANYWARN_COMPLEMENT([warnings], [$warnings], [$nw]) for w in $warnings; do gl_WARN_ADD([$w]) done -- 2.11.0