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

Force compiler warnings to fail the build for safety #22

Open
wants to merge 3 commits into
base: bugfix-2.1.x
Choose a base branch
from

Conversation

senbrow
Copy link

@senbrow senbrow commented Apr 12, 2023

Description

This change adds the -Werror flag to turn all compiler warnings into errors, which will fail the build.

Benefits

This will help prevent code with warnings from accidentally being pushed to the repository.

This is important for physical safety since compilers may emit code that does virtually anything in the presence of undefined behavior.

Related Issues

#21

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.

1 participant