diff options
author | Brett Cannon <brett@python.org> | 2013-05-11 18:47:12 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-05-11 18:47:12 (GMT) |
commit | 4c8bf6b73293a1ba90b7ff3b4b95468a889357b1 (patch) | |
tree | bfb1ccbe00d1255a9fff0d46493ae25cb7e82564 | |
parent | f27541653b4271a3c8fe1def08115a34df73c45e (diff) | |
parent | a75a2ec64dd2d8db00b843fc117b57ea212786d0 (diff) | |
download | cpython-4c8bf6b73293a1ba90b7ff3b4b95468a889357b1.zip cpython-4c8bf6b73293a1ba90b7ff3b4b95468a889357b1.tar.gz cpython-4c8bf6b73293a1ba90b7ff3b4b95468a889357b1.tar.bz2 |
merge
-rw-r--r-- | Misc/NEWS | 6 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -300,6 +300,12 @@ IDLE - Issue #14735: Update IDLE docs to omit "Control-z on Windows". +Build +----- + +- Issue #17547: In configure, explicitly pass -Wformat for the benefit for GCC + 4.8. + What's New in Python 3.3.1 release candidate 1? =============================================== @@ -6529,7 +6529,7 @@ then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports ParseTuple __format__" >&5 $as_echo_n "checking whether gcc supports ParseTuple __format__... " >&6; } save_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -Werror" + CFLAGS="$CFLAGS -Werror -Wformat" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/configure.ac b/configure.ac index 053e4a4..a70a752 100644 --- a/configure.ac +++ b/configure.ac @@ -1333,7 +1333,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)));]], [[]]) ],[ |