]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.ac (ACX_PROG_CC_WARNING_OPTS): add -Wmissing-format-attribute.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 24 Jul 2005 03:44:26 +0000 (03:44 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 24 Jul 2005 03:44:26 +0000 (03:44 +0000)
* configure.ac (ACX_PROG_CC_WARNING_OPTS): add
-Wmissing-format-attribute.

* configure: Regenerate.

From-SVN: r102327

libcpp/ChangeLog
libcpp/configure
libcpp/configure.ac

index 165461c88fb70f67e27cd06f39633795a78c2a85..74b93085f2a26bd7365daaac0048806683fb722a 100644 (file)
@@ -1,3 +1,10 @@
+2005-07-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * configure.ac (ACX_PROG_CC_WARNING_OPTS): add
+       -Wmissing-format-attribute.
+
+       * configure: Regenerate.
+
 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
 
        * all files: Update FSF address in copyright headers.
index 63e2020d3d74c9468077d8d8765e471441d24273..cd8fac81548edc5b46b672b60b00b16ac4366032 100755 (executable)
@@ -2691,7 +2691,8 @@ test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
 WARN_CFLAGS=
 save_CFLAGS="$CFLAGS"
 for option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
-                         -Wmissing-prototypes -Wold-style-definition; do
+                         -Wmissing-prototypes -Wold-style-definition \
+                         -Wmissing-format-attribute; do
   as_acx_Woption=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
 
   echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
index 5c27835e871cdd1935a32c6ae153a0e57657ac35..9a000bd04cb4aa83d4b33780d9ed8abc92a7a507 100644 (file)
@@ -22,7 +22,8 @@ AC_CHECK_PROGS([AUTOHEADER], [autoheader], [$MISSING autoheader])
 # See config/warnings.m4 for details.
 
 ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \
-                         -Wmissing-prototypes -Wold-style-definition])
+                         -Wmissing-prototypes -Wold-style-definition \
+                         -Wmissing-format-attribute])
 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC([-Wno-long-long])
 
 # Only enable with --enable-werror-always until existing warnings are