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
c compiling failes with invalid flag in #cgo CPPFLAGS: -w
#54
Comments
New security features broke cgo golang/go#23749 You'll need to use an older version of Go for now, since no workaround is available for 1.9.4 |
Oh, this might be a workaround: |
@drewwells You can also remove the |
I see compile errors on 1.9 and 1.110 after removing -w |
I get this with Go v1.9.4 and gcc v7.3.0.
Happens on
go install github.com/wellington/go-libsass
and on compilation when used in my project:go build github.com/wellington/go-libsass/libs: invalid flag in #cgo CPPFLAGS: -w
Linking against system libsass with the
dev
tag works fine.The text was updated successfully, but these errors were encountered: