corrode icon indicating copy to clipboard operation
corrode copied to clipboard

macOS issues: _Nullable _Nonnull

Open waywardmonkeys opened this issue 8 years ago • 3 comments

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.

waywardmonkeys avatar Nov 03 '16 10:11 waywardmonkeys

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!

jameysharp avatar Nov 03 '16 21:11 jameysharp

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.

waywardmonkeys avatar Nov 04 '16 04:11 waywardmonkeys

I am actually wrong and it isn't ignoring them, but tracking them, so the data should be available for use here.

waywardmonkeys avatar Nov 04 '16 04:11 waywardmonkeys