Commit 467129e6 by Kaveh R. Ghazi Committed by Kaveh Ghazi

configure.ac (ACX_PROG_CC_WARNING_OPTS): add -Wmissing-format-attribute.

	* configure.ac (ACX_PROG_CC_WARNING_OPTS): add
	-Wmissing-format-attribute.

	* configure: Regenerate.

From-SVN: r102327
parent ac0f3f39
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> 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
* all files: Update FSF address in copyright headers. * all files: Update FSF address in copyright headers.
......
...@@ -2691,7 +2691,8 @@ test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader" ...@@ -2691,7 +2691,8 @@ test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
WARN_CFLAGS= WARN_CFLAGS=
save_CFLAGS="$CFLAGS" save_CFLAGS="$CFLAGS"
for option in -W -Wall -Wwrite-strings -Wstrict-prototypes \ 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` as_acx_Woption=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
echo "$as_me:$LINENO: checking whether $CC supports $option" >&5 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
......
...@@ -22,7 +22,8 @@ AC_CHECK_PROGS([AUTOHEADER], [autoheader], [$MISSING autoheader]) ...@@ -22,7 +22,8 @@ AC_CHECK_PROGS([AUTOHEADER], [autoheader], [$MISSING autoheader])
# See config/warnings.m4 for details. # See config/warnings.m4 for details.
ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \ 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]) ACX_PROG_CC_WARNING_ALMOST_PEDANTIC([-Wno-long-long])
# Only enable with --enable-werror-always until existing warnings are # Only enable with --enable-werror-always until existing warnings are
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment