8000 Cleanup clang warnings by jenshnielsen · Pull Request #6052 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Cleanup clang warnings #6052

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

Merged
merged 4 commits into from
Mar 14, 2016
Merged

Conversation

jenshnielsen
Copy link
Member

This fixes a bunch of warnings that I am seeing with clang on OSX 10.11

@mdboom Some of these seems to be in the code from the new image rewrite

@jenshnielsen jenshnielsen added this to the 2.0 (style change major release) milestone Feb 23, 2016
@QuLogic
Copy link
Member
QuLogic commented Feb 23, 2016

I noticed these as well and was planning to fix them, but I think for 32/64-bit compatibility, you should use NumPy's macros instead of the hard-coded format specifiers.

@mdboom
Copy link
Member
mdboom commented Feb 25, 2016

Looks good. I agree with @QuLogic: I didn't know about numpy's macros for this, but they seem like a good thing to use.

@jenshnielsen
Copy link
Member Author

@QuLogic Good point about the Numpy macros. I have updated to use those.

@jenshnielsen jenshnielsen force-pushed the cleanup-clang-warnings branch from 01cdc7b to ffc2f12 Compare February 29, 2016 20:44
@tacaswell
Copy link
Member

@jenshnielsen This needs a rebase.

@jenshnielsen jenshnielsen force-pushed the cleanup-clang-warnings branch from 8b3fad5 to 3818675 Compare March 7, 2016 20:21
mdboom added a commit that referenced this pull request Mar 14, 2016
@mdboom mdboom merged commit c9c8b8a into matplotlib:v2.x Mar 14, 2016
jenshnielsen added a commit that referenced this pull request Mar 19, 2016
@jenshnielsen jenshnielsen deleted the cleanup-clang-warnings branch April 2, 2016 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0