commit | feb51492442881994f8d42dddfac2763794dbaec | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat May 11 13:00:05 2013 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Sat May 11 13:00:05 2013 -0500 |
tree | d9d569c5ee8688a3f960266c7a590105e4929f4e | |
parent | 8b0e98426dd0e1fde93715256413bc707759db6f [diff] [blame] |
-Wformat is needed by gcc 4.8 (closes #17547)
diff --git a/configure.ac b/configure.ac index 6d54b16..9179fe6 100644 --- a/configure.ac +++ b/configure.ac
@@ -1331,7 +1331,7 @@ then AC_MSG_CHECKING(whether gcc supports ParseTuple __format__) save_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -Werror" + CFLAGS="$CFLAGS -Werror -Wformat" AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[void f(char*,...)__attribute((format(PyArg_ParseTuple, 1, 2)));]], [[]]) ],[