corrode
corrode copied to clipboard
macOS issues: _Nullable _Nonnull
The first issues that I've run into on macOS are from system headers and I've worked around them by doing:
corrode ... -D_Nonnull="/**/" -D_Nullable="/**/"
This was actually fixed in language-c
in an as-yet-unreleased 0.5.1 a couple of months ago.
I guess we'll have to keep this issue open until language-c
has a new Hackage release that includes visq/language-c#6. Thanks for reporting it!
In practice, it might be better to add support for that attribute in language-c
instead of ignoring it like the change in visq/language-c#6 did. That would let you have better data on whether or not you should use Option
.
I am actually wrong and it isn't ignoring them, but tracking them, so the data should be available for use here.