-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
chore: build check workflow fix for readstat #5778
Conversation
.github/workflows/ubuntu.yml
Outdated
@@ -61,7 +61,7 @@ jobs: | |||
wget https://github.com/WizardMac/ReadStat/releases/download/v1.1.9/readstat-1.1.9.tar.gz | |||
tar -xzf readstat-*.tar.gz && cd readstat-*/ | |||
./configure | |||
make | |||
make CFLAGS='-Wno-error' CXXFLAGS='-Wno-error' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uhm, I turn this on on purpose usually?
Shouldnt we just do: -Wno-error=use-after-free
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turning it on will make the build fail, we only do this in the workflow for build test and not any local builds.
Fully fixing it would require upstream code changes (I remember you fixed this for upstream once, but not sure why it's happening again)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe some compiler got updated to be more strict or something, but this fixes it so looks good ^^
Co-authored-by: Joris Goosen <[email protected]>
@JorisGoosen this could be merge to fix workflow.