Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
feb51492
Commit
feb51492
authored
May 11, 2013
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-Wformat is needed by gcc 4.8 (closes #17547)
parent
8b0e9842
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
Misc/NEWS
Misc/NEWS
+6
-0
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
pyconfig.h.in
pyconfig.h.in
+0
-3
No files found.
Misc/NEWS
View file @
feb51492
...
@@ -223,6 +223,12 @@ Documentation
...
@@ -223,6 +223,12 @@ Documentation
- Issue #6696: add documentation for the Profile objects, and improve
- Issue #6696: add documentation for the Profile objects, and improve
profile/cProfile docs. Patch by Tom Pinckney.
profile/cProfile docs. Patch by Tom Pinckney.
Build
-----
- Issue #17547: In configure, explicitly pass -Wformat for the benefit for GCC
4.8.
What'
s
New
in
Python
3.3.1
?
What'
s
New
in
Python
3.3.1
?
===========================
===========================
...
...
configure
View file @
feb51492
...
@@ -6525,7 +6525,7 @@ then
...
@@ -6525,7 +6525,7 @@ then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether gcc supports ParseTuple __format__"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether gcc supports ParseTuple __format__"
>
&5
$as_echo_n
"checking whether gcc supports ParseTuple __format__... "
>
&6
;
}
$as_echo_n
"checking whether gcc supports ParseTuple __format__... "
>
&6
;
}
save_CFLAGS
=
$CFLAGS
save_CFLAGS
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-Werror"
CFLAGS
=
"
$CFLAGS
-Werror
-Wformat
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
/* end confdefs.h. */
...
...
configure.ac
View file @
feb51492
...
@@ -1331,7 +1331,7 @@ if test "$GCC" = "yes"
...
@@ -1331,7 +1331,7 @@ if test "$GCC" = "yes"
then
then
AC_MSG_CHECKING(whether gcc supports ParseTuple __format__)
AC_MSG_CHECKING(whether gcc supports ParseTuple __format__)
save_CFLAGS=$CFLAGS
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Werror"
CFLAGS="$CFLAGS -Werror
-Wformat
"
AC_COMPILE_IFELSE([
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[void f(char*,...)__attribute((format(PyArg_ParseTuple, 1, 2)));]], [[]])
AC_LANG_PROGRAM([[void f(char*,...)__attribute((format(PyArg_ParseTuple, 1, 2)));]], [[]])
],[
],[
...
...
pyconfig.h.in
View file @
feb51492
...
@@ -1187,9 +1187,6 @@
...
@@ -1187,9 +1187,6 @@
/* Define if setpgrp() must be called as setpgrp(0, 0). */
/* Define if setpgrp() must be called as setpgrp(0, 0). */
#undef SETPGRP_HAVE_ARG
#undef SETPGRP_HAVE_ARG
/* Define this to be extension of shared libraries (including the dot!). */
#undef SHLIB_EXT
/* Define if i>>j for signed int i does not extend the sign bit when i < 0 */
/* Define if i>>j for signed int i does not extend the sign bit when i < 0 */
#undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
#undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment