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

chore: build check workflow fix for readstat #5778

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

shun2wang
Copy link
Contributor

@shun2wang shun2wang commented Jan 14, 2025

@JorisGoosen this could be merge to fix workflow.

@shun2wang shun2wang changed the title chore: build check fix for readstat chore: build check workflow fix for readstat Jan 14, 2025
@@ -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'
Copy link
Contributor

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?

Copy link
Contributor Author

@shun2wang shun2wang Jan 22, 2025

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)

Copy link
Contributor

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 JorisGoosen self-requested a review January 22, 2025 12:09
@JorisGoosen JorisGoosen merged commit 4b0fa20 into jasp-stats:development Jan 22, 2025
1 check failed
@shun2wang shun2wang deleted the fix_action branch January 22, 2025 12:11
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.

2 participants