diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-06-08 01:23:13 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-06-08 01:23:13 +0800 |
commit | 7a846e45a65670e9afb7daa6ab0385e2e5d07303 (patch) | |
tree | a77d997c33b8a21374a112015727080b01bc0ffd /m4 | |
parent | 291aec4f3f1bfae889e9e727d0d4af3f63d32315 (diff) | |
download | gsoc2013-empathy-7a846e45a65670e9afb7daa6ab0385e2e5d07303.tar gsoc2013-empathy-7a846e45a65670e9afb7daa6ab0385e2e5d07303.tar.gz gsoc2013-empathy-7a846e45a65670e9afb7daa6ab0385e2e5d07303.tar.bz2 gsoc2013-empathy-7a846e45a65670e9afb7daa6ab0385e2e5d07303.tar.lz gsoc2013-empathy-7a846e45a65670e9afb7daa6ab0385e2e5d07303.tar.xz gsoc2013-empathy-7a846e45a65670e9afb7daa6ab0385e2e5d07303.tar.zst gsoc2013-empathy-7a846e45a65670e9afb7daa6ab0385e2e5d07303.zip |
Add -Wformat and and fix some compile warnings with gcc 4.3. Fixes bug #537129 (Cosimo Cecchi).
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1152 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'm4')
-rw-r--r-- | m4/acinclude.m4 | 4 |
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]) |