Skip to content
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

Silence some compiler warnings related to ft2font #2991

Merged
merged 3 commits into from
Apr 20, 2014

Conversation

jkseppan
Copy link
Member

No description provided.

Clang warns that it gets a garbage value on Python 2, since
mpl_PyFile_Dup expands to a function call that does not use &offset.
It seems that the value is not used on Python 2 but it doesn't
cost much to silence the warning.
Cast string constants explicitly to (char*) since the
method calls aren't going to modify the strings.
@tacaswell tacaswell added this to the v1.4.0 milestone Apr 19, 2014
mdboom added a commit that referenced this pull request Apr 20, 2014
Silence some compiler warnings related to ft2font
@mdboom mdboom merged commit 85b3470 into matplotlib:master Apr 20, 2014
@jkseppan jkseppan deleted the tidyup-ft2font branch April 21, 2014 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants