envoyproxy/envoy

Specify -Wdeprecated-declarations for proto targets

Open

#14,281 创建于 2020年12月4日

在 GitHub 查看
 (8 评论) (0 反应) (0 负责人)C++ (5,373 fork)batch import
area/buildhelp wantedtech debt

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

The deprecated proto fields are generating a whole lot of warnings:

bazel-out/k8-fastbuild/bin/external/envoy_api/envoy/config/core/v3/config_source.pb.h:102:3: note: declared here
  102 |   ApiConfigSource_ApiType_hidden_envoy_deprecated_UNSUPPORTED_REST_LEGACY PROTOBUF_DEPRECATED_ENUM = 0,

We should set the -Wdeprecated-declarations for proto targets to suppress this warning.

贡献者指南