aboutsummaryrefslogtreecommitdiff
path: root/libcpp/configure.ac
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2005-07-24 03:44:26 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2005-07-24 03:44:26 +0000
commit467129e6572fbf44f83433cab601b4c024a9aef3 (patch)
tree2a13962b71d66445aca24b6d7a29646aea03e10f /libcpp/configure.ac
parentac0f3f3949090eeb1687345bcd3f8dd9a5aef1cd (diff)
downloadgcc-467129e6572fbf44f83433cab601b4c024a9aef3.zip
gcc-467129e6572fbf44f83433cab601b4c024a9aef3.tar.gz
gcc-467129e6572fbf44f83433cab601b4c024a9aef3.tar.bz2
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
Diffstat (limited to 'libcpp/configure.ac')
-rw-r--r--libcpp/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcpp/configure.ac b/libcpp/configure.ac
index 5c27835..9a000bd 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