Repository navigation
Unknown compiler options for clang shouldn't be show-stoppers - #2967
Merged
Merged
Conversation
1 task
sea-bass
reviewed
Aug 12, 2024
sea-bass
left a comment
Contributor
There was a problem hiding this comment.
I additionally searched for this issue and found this relevant post: https://stackoverflow.com/a/41673702
So this change makes sense to me, but would be nice for someone with more software chops than me to give it the final approval.
rhaschke
approved these changes
Aug 12, 2024
rhaschke
left a comment
Contributor
There was a problem hiding this comment.
Maybe add a comment to remove that option in the future if clang-tidy is fixed.
AndyZe
force-pushed
the
clang_no_unknown_warnings
branch
from
August 12, 2024 13:35
1fdba8d to
805c094
Compare
AndyZe
enabled auto-merge
August 12, 2024 13:36
AndyZe
force-pushed
the
clang_no_unknown_warnings
branch
from
August 12, 2024 16:56
805c094 to
d5a5d52
Compare
AndyZe
force-pushed
the
clang_no_unknown_warnings
branch
from
August 12, 2024 17:22
d5a5d52 to
3bccace
Compare
sea-bass
approved these changes
Aug 12, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is a workaround for a CI error that has been cropping up once in awhile recently:
From https://github.com/moveit/moveit2/actions/runs/10335417126/job/28609933300 for one example
I don't think there's actually a potentially uninitialized variable there, at least not a new one in this PR. I think what happened is,
clang-tidywas cached previously for thiscppfile. That PR happened to touch thatcppfile, which causedclang-tidyto re-run for it. And something aboutclang-tidyhas changed since the last time it ran.