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

[cmake] Turn off -Werror=extra -Werror=pedantic #360

Merged

Conversation

jwnimmer-tri
Copy link
Contributor

@jwnimmer-tri jwnimmer-tri commented Jul 9, 2024

In no universe should Werror be enabled in end-user builds (rather than just developers local builds and CI checks), and certainly not for warning categories that Drake's own CI doesn't even enable. We don't want this repository to be a warning-catcher for Drake code.

The easy fix for now is to just turn off the overly broad warning categories. This does not fix the bug that Werror=all is enabled for builds triggered by downstream users.


This change is Reviewable

In no universe should Werror be enabled in end-user builds (rather
than just developers local builds and CI checks), and certainly not
for warning categories that Drake's own CI doesn't even enable. We
don't want *this* repository to be a warning-catcher for Drake code.

The easy fix for now is to just turn off the overly broad warning
categories. This does not fix the bug that Werror=all is enabled for
builds triggered by downstream users.
Copy link
Contributor Author

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: rubber stamp.

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jwnimmer-tri)

@jwnimmer-tri
Copy link
Contributor Author

\CC @EricCousineau-TRI @IanTheEngineer FYI

@EricCousineau-TRI
Copy link
Collaborator

Thanks! CI errors appear to be unrelated to this PR:
https://github.com/RobotLocomotion/drake-ros/actions/runs/9670843228

Will merge this PR and file issue about the segfault.

@EricCousineau-TRI EricCousineau-TRI merged commit eff1806 into RobotLocomotion:main Jul 9, 2024
5 of 6 checks passed
@jwnimmer-tri
Copy link
Contributor Author

Yeah. CI has been broken for weeks (months?).

@jwnimmer-tri jwnimmer-tri deleted the bad-cmake-no-biscuit branch July 9, 2024 17:36
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