mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
-Wformat is needed by gcc 4.8 (closes #17547)
This commit is contained in:
parent
8b0e98426d
commit
feb5149244
4 changed files with 8 additions and 5 deletions
|
@ -1331,7 +1331,7 @@ if test "$GCC" = "yes"
|
|||
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)));]], [[]])
|
||||
],[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue