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

error: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Werror,-Wunknown-warning-option] #74

Open
dorianmariecom opened this issue May 16, 2022 · 1 comment

Comments

@dorianmariecom
Copy link

dorianmariecom commented May 16, 2022

Hi,

I'm getting this error when doing gem install curses:

error: unknown warning option '-Wno-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Werror,-Wunknown-warning-option]
Apple clang version 13.0.0 (clang-1300.0.27.3)
Target: arm64-apple-darwin21.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
@shugo
Copy link
Member

shugo commented Mar 13, 2025

@dorianmariecom Sorry for the delay.

There may be something wrong with your ruby installation.
How did you install ruby?

Could you show us mkmf.log?

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

No branches or pull requests

2 participants