Skip to content

Conversation

@delta1
Copy link
Contributor

@delta1 delta1 commented Oct 29, 2025

Noticed some CI failures here: https://github.com/BlockstreamResearch/simplicity/actions/runs/18875552789

This PR does the following:

C build:

Clang 21 and GCC 15 introduce a new warning/error for Wunterminated-string-initialization

Fix this warning by changing the string initializations to array initializations in test.c

Haskell build:

Bump QuickCheck max version

@roconnor-blockstream
Copy link
Collaborator

Maybe we should split the QuickCheck stuff out into a separate PR, because I'm worried about the changes to the C code.

The change looks like it would introduce a null byte at the end of the arrays, which seems wrong. I mean, it does work, but it would be better for valgrind testing if we don't have nulls. I would like to find an alternative. At the very least we can (and maybe should) just initialize a char array here.

Fixes the the new warning/error for Wunterminated-string-initialization
@delta1
Copy link
Contributor Author

delta1 commented Oct 30, 2025

Closing for #315 and #316

@delta1 delta1 closed this Oct 30, 2025
@roconnor-blockstream
Copy link
Collaborator

I'm ashamed to say this now since I literally just told you to split up this PR. However I now think that to make both CI happy and @apoelstra's CI happy we should reopen this PR and update it with what you have done.

@delta1
Copy link
Contributor Author

delta1 commented Oct 30, 2025

Sure will do

@delta1
Copy link
Contributor Author

delta1 commented Oct 31, 2025

Combined #315 and #316 here now, force pushed and updated the PR description

Copy link
Collaborator

@roconnor-blockstream roconnor-blockstream left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Copy link
Collaborator

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 17e3376; successfully ran local tests

@roconnor-blockstream roconnor-blockstream merged commit ba440a0 into BlockstreamResearch:master Nov 3, 2025
9 checks passed
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.

3 participants