-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
MAS_ATTR_FORWARD(attribute) raises a warning if mismatched-return-types is enabled #71
Comments
That's interesting, I once added a C library (https://github.com/JeremyOT/ObjectiveZlib) into my project and started to have this issue, I finally found out going back into my own commits. This library has a |
Unfortunately it doesn't. Thanks anyway, @lluisgerard :) |
It is! Thanks a lot, @cloudkite! |
@cloudkite Thanks for fixing so fast! Would it be possible for you to tag 1e08fa3 and do a CocoaPods point release? |
No problem, v0.5.2 should be up now :) |
🆒 !! Thanks so much! |
If the flag
-Wmismatched-return-types
is set, the new propertyattribute
fromMASShorthandAdditions
introduced in v0.5.0 will raise a warning when forwarding it to the non-shorthand equivalent.This is the output from the compiler:
The text was updated successfully, but these errors were encountered: