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

Disable the -Wshadow warning when building under clang. #45

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

clalancette
Copy link
Contributor

@clalancette clalancette commented Dec 1, 2023

There are a bunch of shadowed variables within yaml-cpp itself. Disable the warnings we get when compiling under clang by removing the -Wshadow flag.

Before: Clang Build Status
After: Clang Build Status

There are a bunch of shadowed variables within yaml-cpp
itself.  Disable the warnings we get when compiling under
clang by removing the -Wshadow flag.

Signed-off-by: Chris Lalancette <[email protected]>
@clalancette
Copy link
Contributor Author

clalancette commented Dec 1, 2023

Full CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette clalancette merged commit dd97491 into rolling Dec 2, 2023
3 checks passed
@clalancette clalancette deleted the clalancette/clang-fixes branch December 2, 2023 12: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