changeset 11595:84a17b4defb3

manywarnings: Add GCC 4.4 warnings.
author Simon Josefsson <simon@josefsson.org>
date Tue, 02 Jun 2009 10:41:29 +0200
parents 36af7f748bb9
children c1d3603bec42
files ChangeLog m4/manywarnings.m4
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-02  Simon Josefsson  <simon@josefsson.org>
+
+	* m4/manywarnings.m4: Add GCC 4.4 warnings.
+
 2009-05-28  Bruno Haible  <bruno@clisp.org>
 
 	* gnulib-tool (func_import): Don't do HAVE_CONFIG_H replacements on
--- a/m4/manywarnings.m4
+++ b/m4/manywarnings.m4
@@ -1,5 +1,5 @@
 # manywarnings.m4 serial 1
-dnl Copyright (C) 2008 Free Software Foundation, Inc.
+dnl Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -30,7 +30,7 @@
 
 # gl_MANYWARN_ALL_GCC(VARIABLE)
 # -----------------------------
-# Add all documented GCC (currently as per version 4.3.2) warning
+# Add all documented GCC (currently as per version 4.4) warning
 # parameters to variable VARIABLE.  Note that you need to test them
 # using gl_WARN_ADD if you want to make sure your gcc understands it.
 AC_DEFUN([gl_MANYWARN_ALL_GCC],
@@ -87,6 +87,10 @@
    -Wdisabled-optimization \
    -Wstack-protector \
    -Woverlength-strings \
+   -Wbuiltin-macro-redefined \
+   -Wmudflap \
+   -Wpacked-bitfield-compat \
+   -Wsync-nand \
   ; do
     gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
   done