summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-06-07 17:23:13 +0000
committerXavier Claessens <xclaesse@src.gnome.org>2008-06-07 17:23:13 +0000
commit9ddfc7ec17b25b1b02f30639e291b80be85b9a5f (patch)
treea77d997c33b8a21374a112015727080b01bc0ffd /m4
parent9162afac50cc420698877f76756a47256e333f14 (diff)
downloadempathy-9ddfc7ec17b25b1b02f30639e291b80be85b9a5f.tar.gz
Add -Wformat and and fix some compile warnings with gcc 4.3. Fixes bug #537129 (Cosimo Cecchi).
svn path=/trunk/; revision=1152
Diffstat (limited to 'm4')
-rw-r--r--m4/acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
index 3120d8620..18cf7c868 100644
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -29,9 +29,9 @@ AC_DEFUN([IDT_COMPILE_WARNINGS],[
warning_flags="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations"
;;
maximum|error)
- warning_flags="-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
+ warning_flags="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wnested-externs -Wpointer-arith"
CFLAGS="$warning_flags $CFLAGS"
- for option in -Wno-sign-compare -Wno-pointer-sign; do
+ for option in -Wno-sign-compare -Wno-pointer-sign -Wformat; do
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $option"
AC_MSG_CHECKING([whether gcc understands $option])