-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 2.7.2 doesn't build cleanly with GCC ≥ 4.8 #407
Conversation
Looks like I'm using gcc 5.1, and I haven't had a problem - how do you find it doesn't build cleanly? The patch seems fairly innocuous, but I'm not sure if I can test it. |
I too am using GCC 5.1 (5.1.1 actually). It's related to a python issue that's been fixed in more recent versions, but not in Python 2.7.2: http://bugs.python.org/issue17547. From reading the Python issue, adding -Wformat is innocuous as it used to be the default with earlier versions of GCC. Can you try on a different machine / VM or in some other way make sure that you're not re-using a working build or environment? I'd started to update to Python 2.7.4 or later but the codebase was too different for the time I had available. |
I'm fairly sure I'm not using an old working build as I've rebuilt On 11/07/15 20:22, Paul Kronenwetter wrote:
|
Fair enough. I had another thought, it may be that Fedora (my distro) and others mentioned in the Python issue adopted removal of -Wformat but your distribution re-added it to avoid such breakage. |
For what it's worth, I use Arch Linux - I wouldn't usually expect such a patch but it's not impossible. I read the python bug and it does seem like I should see it, and probably so should other people, but I haven't seen anyone report the problem. Weird. |
Agreed, I'm usually not the one to find these things the first time 😄 |
I propose this patch as a solution.to issue #321.