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

Fix Incompatible block pointer types... compile-time error in Xcode 12 #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vasiliyteplov
Copy link

Xcode 12 generates compile-time error:
Incompatible block pointer types sending 'id<RamblerViperModuleOutput> (^)(__strong id<MyNewModuleInput>)' to parameter of type 'RamblerViperModuleLinkBlock' (aka 'id<RamblerViperModuleOutput> (^)(__strong id<RamblerViperModuleInput>)')

Adding __kindof attribute for id<RamblerViperModuleInput> moduleInput input parameter of RamblerViperModuleLinkBlock fix this issue.

@vasiliyteplov vasiliyteplov mentioned this pull request Sep 16, 2020
@RomanGal
Copy link

@AndreyZarembo @valentinpopkov @etolstoy At least 1 approving review is required by reviewers with write access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants