Paul Eggert wrote: > I noticed that Emacs's configure script was checking for > -Wmultichar twice and tracked it down to a gnulib inefficiency, > fixed as follows. ... > diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4 ... > @@ -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"
Thanks. That reminds me that I still have to finish preparing and post the code to automatically extract "all" warnings from whatever version of gcc you happen to be using. The trouble is that there are many, many warnings that must be filtered out. Some are relevant only to Fortran, others only to C++, and some are simply not useful to us, so I ended up with a big warning-name-to-"type" map, with code to filtering the list of all warnings through that.