-
Notifications
You must be signed in to change notification settings - Fork 600
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
Generating Swift library fails with compile error #841
Comments
So that's not a correct invocation; this is more like it:
... but that must have been a copy/paste goof. So yes, this is an out-and-out bug in the swift generation. So I don't know Swift at all. Couldn't write it, so rather harder to fix a Swift code generator :-) What should a single This is the table:
That second column would seem to be the underlying Swift type - do we need to choose one of those to shove a single char into, or is there a better option? Amusingly, if I remove the field from Your work-arounds are to nuke the e.g.
|
... note that it should probably not be a Swift Frankly, I think we should probably just remove |
Good luck with that :-) |
char is used in param_ext (specifically char[128] ). It's one of the reasons I think param_ext should be nuked. |
PARAM_EXT_VALUE meets a use case and is in use. If we have an alternative proposal for meeting the use case then we can move (tortuously slowly) towards an option for replacing it. Just like anything else. |
This is crossposting of original issue mavlink/mavlink#2018.
The text was updated successfully, but these errors were encountered: