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

tools: not warning about deprecated declarations #19468

Merged
merged 2 commits into from
Jan 13, 2022

Conversation

alyssawilk
Copy link
Contributor

Also removing a couple of unnecessary validate.proto files.
This removes several thousands of lines worth of warnings from our build logs.

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
.bazelrc Outdated
@@ -41,6 +41,7 @@ build --action_env=CC
build --action_env=CXX
build --action_env=LLVM_CONFIG
build --action_env=PATH
build --copt=-Wno-deprecated-declarations
Copy link
Member

Choose a reason for hiding this comment

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

this need to be in build:linux block above to not break windows.

@phlax
Copy link
Member

phlax commented Jan 11, 2022

if only we could find a solution to bazelbuild/bazel#7157 - we could really clean up ci logs

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
@alyssawilk
Copy link
Contributor Author

oh thanks for the link @phlax - I'll ping internally and see if I can get any traction.

@alyssawilk
Copy link
Contributor Author

lizan anything else you'd like to see here?

@lizan lizan merged commit 4f58f01 into envoyproxy:main Jan 13, 2022
mum4k added a commit to mum4k/nighthawk that referenced this pull request Jan 19, 2022
- syncing `.bazelrc` from Envoy (envoyproxy/envoy#19468).
- no changes in `.bazelversion`, `run_envoy_docker.sh`, `gen_compilation_database.py`.

Signed-off-by: Jakub Sobon <mumak@google.com>
dubious90 pushed a commit to envoyproxy/nighthawk that referenced this pull request Jan 20, 2022
- syncing `.bazelrc` from Envoy (envoyproxy/envoy#19468).
- no changes in `.bazelversion`, `run_envoy_docker.sh`, `gen_compilation_database.py`.

Signed-off-by: Jakub Sobon <mumak@google.com>
joshperry pushed a commit to joshperry/envoy that referenced this pull request Feb 13, 2022
Also removing a couple of unnecessary validate.proto files.
This removes several thousands of lines worth of warnings from our build logs.

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Josh Perry <josh.perry@mx.com>
jmarantz added a commit that referenced this pull request Apr 20, 2022
…me as deprecated (#20896)

Commit Message: Prevent further in-repo uses of Stats::ScopePtr with a lint error. Attempt to discourage out-of-repo uses of Stats::ScopePtr with a deprecated flag, though that doesn't seem to cause any warning in our build or clang-tidy when I change a reference in the code. See #19468 for the change to suppress deprecation warnings.
Additional Description:
Risk Level: low
Testing: //test/common/stats/...
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Joshua Marantz <jmarantz@google.com>
ravenblackx pushed a commit to ravenblackx/envoy that referenced this pull request Jun 8, 2022
…me as deprecated (envoyproxy#20896)

Commit Message: Prevent further in-repo uses of Stats::ScopePtr with a lint error. Attempt to discourage out-of-repo uses of Stats::ScopePtr with a deprecated flag, though that doesn't seem to cause any warning in our build or clang-tidy when I change a reference in the code. See envoyproxy#19468 for the change to suppress deprecation warnings.
Additional Description:
Risk Level: low
Testing: //test/common/stats/...
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Joshua Marantz <jmarantz@google.com>
@alyssawilk alyssawilk deleted the quiet branch August 4, 2022 00:58
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