X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/91a9c7db94f2c7c5706ff63c6098599399080aa1..60f31f9d24bd348ccad2ea99ba96424360b11a92:/acmacro/gnome-warnings.m4 diff --git a/acmacro/gnome-warnings.m4 b/acmacro/gnome-warnings.m4 index 8e6746fb50..034521188b 100644 --- a/acmacro/gnome-warnings.m4 +++ b/acmacro/gnome-warnings.m4 @@ -23,9 +23,9 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ ## -W is not all that useful. And it cannot be controlled ## with individual -Wno-xxx flags, unlike -Wall if test "x$enable_compile_warnings" = "xyes"; then - warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations\ - -finline-functions -Wshadow -Wpointer-arith \ - -Wwrite-strings -Wno-unused-function -Werror" + warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations \ + -finline-functions -Wshadow -Wpointer-arith -Wchar-subscripts \ + -Wformat=2 -Wno-unused-variable -Wno-unused-function -Wwrite-strings -Werror" fi fi fi