-
-
Notifications
You must be signed in to change notification settings - Fork 352
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: update parser header file with namespaced functions #364
fix: update parser header file with namespaced functions #364
Conversation
I couldn't install another gem that has thin as a dependency because of this error. Thank you for this PR and for the workaround. It solved the problem. |
Thanks for the pull request! Could someone tag a new release please? Has it really been 3 years? :) https://rubygems.org/gems/thin/versions/1.7.2 |
Yes we will do a new release soon, it will probably be 1.8.0. |
@ioquatix Thank you. Friendly reminder: would you mind releasing a new version? With XCode v12 becoming the default, a number of people are hitting this error. |
@ioquatix any update on this? |
It appears that there are issues with it on MacOS Big Sur, and the 1.8.0 ver of Thin has a fix for what I believe to be the issue: macournoyer/thin#364 Fixes #182
d5b523e renamed the parser functions to include a
thin_
prefix as a namespace, but did not update the parser header file. This did not cause any problems for a long time becauseimplicit-function-declaration
was just a warning previously, but Xcode 12 has made it an error (second bullet under Apple Clang Compiler > Resolved):This is preventing install of this gem on macOS with Xcode 12.
Note: there is a workaround until this is patched:
$ gem install thin -- --with-cflags="-Wno-error=implicit-function-declaration"
or with Bundler:
$ bundle config build.thin --with-cflags="-Wno-error=implicit-function-declaration"