Remove old, dead code in last commit.
[gnulib.git] / m4 / manywarnings.m4
index 5eb5a66..93b1315 100644 (file)
@@ -11,7 +11,7 @@ dnl From Simon Josefsson
 # Copy LISTVAR to OUTVAR except for the entries in REMOVEVAR.
 # Elements separated by whitespace.  In set logic terms, the function
 # does OUTVAR = LISTVAR \ REMOVEVAR.
-AC_DEFUN([gl_COMPLEMENT],
+AC_DEFUN([gl_MANYWARN_COMPLEMENT],
 [
   gl_warn_set=
   set x $2; shift
@@ -90,5 +90,15 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC],
   ; do
     gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
   done
+ # The following are not documented in the manual but are included in
+ # output from gcc --help=warnings.
+ for gl_manywarn_item in \
+   -Wattributes \
+   -Wcoverage-mismatch \
+   -Wmultichar \
+   -Wunused-macros \
+  ; do
+    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
+  done
   $1=$gl_manywarn_set
 ])