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

plugin intf: fix compile error, change type of arg to bool #4710

Merged
merged 1 commit into from
Feb 19, 2020
Merged

plugin intf: fix compile error, change type of arg to bool #4710

merged 1 commit into from
Feb 19, 2020

Conversation

mossheim
Copy link
Contributor

Purpose and Motivation

this is an addendum to #4356

msvc complains about signed to unsigned conversion ( see
supercollider/cookiecutter-supercollider-plugin#21)

i also changed this argument to a boolean since there are really only
two possible values. it made sense to use int in the C interface since
bool is not a fundamental C type

Types of changes

  • Bug fix
  • Breaking change (technically, but the change just went into develop
    last week and no releases have occurred from it in the meantime)

To-do list

  • Code is tested
  • All tests are passing
  • Updated documentation
  • This PR is ready for review

msvc complains about signed to unsigned conversion
@mossheim
Copy link
Contributor Author

note -- the compile error referred to in the title is in the cookiecutter plugin, which uses a higher and more stringent set of compiler warnings/errors than this project

@dyfer
Copy link
Member

dyfer commented Dec 29, 2019

@brianlheim you're two steps ahead! 🥇
I was wondering about these failures in supercollider/cookiecutter-supercollider-plugin#21

@jrsurge jrsurge self-requested a review January 4, 2020 12:47
@dyfer
Copy link
Member

dyfer commented Feb 18, 2020

I think this is fine, I tested it with example-plugins. I think we should make sure this gets into 3.11 to avoid making a breaking change later, right?

@dyfer dyfer self-requested a review February 18, 2020 20:20
@mossheim mossheim merged commit 1b0e7a0 into supercollider:develop Feb 19, 2020
@mossheim mossheim deleted the topic/plugin-compile-fix branch February 19, 2020 02:44
@mossheim
Copy link
Contributor Author

thanks @dyfer ! i don't think it's vital for 3.11 but i didn't consider the breaking change part, it should probably be cherry picked now that we have a 3.11 branch

@mossheim mossheim restored the topic/plugin-compile-fix branch April 10, 2020 18:48
@mossheim mossheim mentioned this pull request Apr 11, 2020
@mossheim mossheim deleted the topic/plugin-compile-fix branch August 1, 2020 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants