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

Address 'error: implicit declaration of function' by setting prototypes #366

Closed
wants to merge 1 commit into from

Conversation

yahonda
Copy link

@yahonda yahonda commented Aug 2, 2020

This pull request fixes #365, so that macOS 11.0 Big Sur beta and 10.15.6 Catalina users can install thin gem.

I have just googled and found this error can be addressed by setting "prototype" in advance like https://stackoverflow.com/questions/8440816/warning-implicit-declaration-of-function .

@ioquatix
Copy link
Collaborator

ioquatix commented Aug 2, 2020

Thanks. Should this come from a header file?

@yahonda
Copy link
Author

yahonda commented Aug 2, 2020

Thanks for the review. These prototypes moved to ext/thin_parser/parser.h .

@yahonda
Copy link
Author

yahonda commented Aug 3, 2020

It looks like my pull request is duplicate with #364

@yahonda
Copy link
Author

yahonda commented Aug 3, 2020

Let me close this pull request because #364 looks the correct fix. Thanks again for the review @ioquatix

@yahonda yahonda closed this Aug 3, 2020
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.

Unable to install thin gem on macOS 11.0 Big Sur beta
2 participants