Skip to content

Conversation

@lsf37
Copy link
Member

@lsf37 lsf37 commented Aug 14, 2025

This PR collects updates to make the CAmkES tests pass with gcc-14.

The major difference is that -Werror=implicit-function-declaration is now default, which causes a few existing warnings to be promoted to errors. The other one is that gcc-14 is more strict when comparing const* types to non-const* types.

To fix these, there are some updates in camkes-tools, and the ones here.

In addition, I've slightly tweaked the tests Makefile to make it a bit more usable for fixing such problems.

Should be merged after #33

@lsf37 lsf37 changed the base branch from master to cmake-version August 14, 2025 12:55
@lsf37 lsf37 requested a review from Ivan-Velickovic August 14, 2025 12:55
@lsf37 lsf37 requested a review from corlewis August 15, 2025 10:49
Base automatically changed from cmake-version to master August 15, 2025 11:57
lsf37 added 5 commits August 15, 2025 12:59
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
The test uses an internal function that is not exported in the .h file.
Provide an explicit prototype for it.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
When RERUN_FAILED is set, the test will re-run only the tests that
failed in the last run.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
The function uses a const char* in a function that expects char*, and
more recent gcc versions complain. Declare with the correct type.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
@lsf37
Copy link
Member Author

lsf37 commented Aug 15, 2025

(rebased)

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