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

'const' error with Pd>=0.49 #1

Closed
umlaeute opened this issue Dec 4, 2018 · 0 comments
Closed

'const' error with Pd>=0.49 #1

umlaeute opened this issue Dec 4, 2018 · 0 comments

Comments

@umlaeute
Copy link
Contributor

umlaeute commented Dec 4, 2018

since Pd>=0.49, the t_symbol holds a const char* (rather than a char*).

This breaks compilation, as csoundSetStringChannel expects a char* pointer, when we only really have a const char* (in csoundapi_tilde.c:736).

A quick and dirty fix is to just cast away the constness (assuming that the 3rd argument of csoundSetStringChannel is really handled as a const string)

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

No branches or pull requests

1 participant