Skip to content

added a char* cast at line 95 and solve compilation error - #31

Closed
ValerioMagnago wants to merge 1 commit into
lava:masterfrom
ValerioMagnago:master
Closed

added a char* cast at line 95 and solve compilation error#31
ValerioMagnago wants to merge 1 commit into
lava:masterfrom
ValerioMagnago:master

Conversation

@ValerioMagnago

Copy link
Copy Markdown
Contributor

../matplotlibcpp.h:95:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
PyObject_CallMethod(matplotlib, "use", "s", s_backend.c_str());

Perhaps it will save 15 seconds of life to other people.

@lava

lava commented Aug 14, 2017

Copy link
Copy Markdown
Owner

Merged, thanks for contributing!

@lava lava closed this Aug 14, 2017
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.

2 participants