diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-24 03:44:26 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-24 03:44:26 +0000 |
commit | 72ee8ff96d6e832f68eed276f8142ebad61f4062 (patch) | |
tree | 2a13962b71d66445aca24b6d7a29646aea03e10f | |
parent | 3df48165b81ecf2b2f9ab7af7904f5f609fc9ea1 (diff) | |
download | gcc-72ee8ff96d6e832f68eed276f8142ebad61f4062.tar.gz |
* configure.ac (ACX_PROG_CC_WARNING_OPTS): add
-Wmissing-format-attribute.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102327 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libcpp/ChangeLog | 7 | ||||
-rwxr-xr-x | libcpp/configure | 3 | ||||
-rw-r--r-- | libcpp/configure.ac | 3 |
3 files changed, 11 insertions, 2 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 165461c88fb..74b93085f2a 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -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. diff --git a/libcpp/configure b/libcpp/configure index 63e2020d3d7..cd8fac81548 100755 --- a/libcpp/configure +++ b/libcpp/configure @@ -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 diff --git a/libcpp/configure.ac b/libcpp/configure.ac index 5c27835e871..9a000bd04cb 100644 --- a/libcpp/configure.ac +++ b/libcpp/configure.ac @@ -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 |