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

Fix macOS build of benchmark test with GCC 14 #561

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

rod-chapman
Copy link
Contributor

Fixes #552

Disables -Wpedantic in hal/hal.c where the result of calling dlsym() needs to be converted from "void *" to the appropriate function-pointer type, which normally generates a warning or error with GCC 14.

All tests pass
"tests bench -r -c M1" now works on macOS with GCC 14.2.0
lint passes
No expected performance impact

Disables -Wpedantic in hal/hal.c where the result of
calling dlsym() needs to be converted from "void *"
to the appropriate function-pointer type, which
normally generates a warning or error with GCC 14.

Signed-off-by: Rod Chapman <[email protected]>
@rod-chapman rod-chapman requested a review from a team as a code owner December 21, 2024 02:05
@rod-chapman rod-chapman self-assigned this Dec 21, 2024
@hanno-becker hanno-becker merged commit be6f468 into pq-code-package:main Dec 21, 2024
29 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.

Build of benchmark test fails with gcc 14.2.0
2 participants