Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a75a2ec

Browse files
committed
merge 3.3 (#17547)
2 parents 7ce35a1 + feb5149 commit a75a2ec

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

Misc/NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,12 @@ IDLE
300300

301301
- Issue #14735: Update IDLE docs to omit "Control-z on Windows".
302302

303+
Build
304+
-----
305+
306+
- Issue #17547: In configure, explicitly pass -Wformat for the benefit for GCC
307+
4.8.
308+
303309

304310
What's New in Python 3.3.1 release candidate 1?
305311
===============================================

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6529,7 +6529,7 @@ then
65296529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports ParseTuple __format__" >&5
65306530
$as_echo_n "checking whether gcc supports ParseTuple __format__... " >&6; }
65316531
save_CFLAGS=$CFLAGS
6532-
CFLAGS="$CFLAGS -Werror"
6532+
CFLAGS="$CFLAGS -Werror -Wformat"
65336533
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65346534
/* end confdefs.h. */
65356535

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,7 @@ if test "$GCC" = "yes"
13331333
then
13341334
AC_MSG_CHECKING(whether gcc supports ParseTuple __format__)
13351335
save_CFLAGS=$CFLAGS
1336-
CFLAGS="$CFLAGS -Werror"
1336+
CFLAGS="$CFLAGS -Werror -Wformat"
13371337
AC_COMPILE_IFELSE([
13381338
AC_LANG_PROGRAM([[void f(char*,...)__attribute((format(PyArg_ParseTuple, 1, 2)));]], [[]])
13391339
],[

0 commit comments

Comments
 (0)