I noticed that Emacs's configure script was checking for
-Wmultichar twice and tracked it down to a gnulib inefficiency,
fixed as follows.

---
 ChangeLog          |    7 +++++++
 m4/manywarnings.m4 |    3 +--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 41862f2..647c832 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-05-27  Paul Eggert  <egg...@cs.ucla.edu>
+
+       manywarnings: remove duplicate -Wmultichar entry
+       * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Remove duplicate
+       entry for -Wmultichar.  -Wno-multichar is in the GCC 4.7.0 manual,
+       so keep the entry marked as documented.
+
 2012-05-27  Karl Berry  <k...@gnu.org>
 
        * config/srclist.txt (mktime.c): remove last libc sync,
diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4
index fd0e372..864fc85 100644
--- a/m4/manywarnings.m4
+++ b/m4/manywarnings.m4
@@ -1,4 +1,4 @@
-# manywarnings.m4 serial 3
+# manywarnings.m4 serial 4
 dnl Copyright (C) 2008-2012 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -143,7 +143,6 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC],
   for gl_manywarn_item in \
     -Wattributes \
     -Wcoverage-mismatch \
-    -Wmultichar \
     -Wunused-macros \
     ; do
     gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
-- 
1.7.6.5


Reply via email to