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

build: add flag to treat warnings as errors and enable in CI #61

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

ingomueller-net
Copy link
Collaborator

@ingomueller-net ingomueller-net commented Jan 17, 2025

This PR depends on and, therefor, includes #66.

This PR adds an option to our CMake files that allow treating compiler warnings as errors in the targets from this repository and enables that option in CI. This will enforce that we fix compiler warnings before merging PRs, which should help to keep our code clean.

@ingomueller-net
Copy link
Collaborator Author

I think this will pass once #64 will be merged.

@ingomueller-net ingomueller-net force-pushed the warning-as-error branch 2 times, most recently from 6371bcf to 6678ca5 Compare January 22, 2025 09:41
This PR adds an option to our CMake files that allow treating compiler
warnings as errors in the targets from this repository and enables that
option in CI. This will enforce that we fix compiler warnings before
merging PRs, which should help to keep our code clean.

Signed-off-by: Ingo Müller <[email protected]>
@ingomueller-net ingomueller-net merged commit 39864c6 into substrait-io:main Jan 29, 2025
7 checks passed
@ingomueller-net ingomueller-net deleted the warning-as-error branch January 29, 2025 10:15
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