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

added Werror build flag #140

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

added Werror build flag #140

wants to merge 6 commits into from

Conversation

JonathanSafer
Copy link
Member

Description of Problem

Currently if our code has warnings in it, it'll still pass the build check. Ideally the build check would fail in this case because we don't want to have any warnings.

Solution

  • added -Werror build flag
    This flag tells the compiler to treat all warnings as errors. Thus if we have a warning the compiler will report an error and the build check will fail.

@JonathanSafer JonathanSafer requested review from ABenoit01 and a team April 10, 2023 00:38
@JonathanSafer JonathanSafer self-assigned this Apr 10, 2023
@JonathanSafer
Copy link
Member Author

looks like the adafruit_gps library has some compiler warnings. We'll have to hold off on this until they can be resolved.

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