-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix some minor warnings in extensions #7514
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
Conversation
Might be the only case of -Wstrict-prototypes being used.
Current releases of distutils (2.7 & 3.5, at least) import customize_compiler into the build_ext namespace, so changing the original doesn't actually have any effect.
This prevents any macro-has-been-redefined warnings.
Also fixed warnings about format specifiers and doubly-defined macros. |
Not sure why it works locally but not on Travis.
I've approved this, but this is typically things that should not go into 2.x at this point. |
Admittedly, it got a bit larger than I expected (I could have sworn that |
from https://stackoverflow.com/questions/8132399/how-to-printf-uint64-t it looks like it is a difference between compilers that requires |
Ah yes, gcc 6.2.1; I always forget it's that much newer (especially as Travis becomes older and older.) |
Fix prototypes, an unused variable and some new misleading indentation warnings on GCC 6.