From 9632ae784284293032bd34bbedbdbe9126cfa2bb Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Thu, 3 Mar 2022 13:46:36 +0100 Subject: External gRPC: Disable warnings --- etc/import/TARGETS.grpc | 3 +++ etc/import/src/core/ext/upb-generated/TARGETS.grpc | 1 + 2 files changed, 4 insertions(+) diff --git a/etc/import/TARGETS.grpc b/etc/import/TARGETS.grpc index 5c4ee009..53ff9cb9 100644 --- a/etc/import/TARGETS.grpc +++ b/etc/import/TARGETS.grpc @@ -160,6 +160,7 @@ , "grpc_base_c": { "type": ["@", "rules", "CC", "library"] , "name": ["grpc_base_c"] + , "local cflags": ["-Wno-implicit-const-int-float-conversion"] , "srcs": [ "src/core/lib/avl/avl.cc" , "src/core/lib/backoff/backoff.cc" @@ -553,6 +554,7 @@ , "grpc_lb_upb": { "type": ["@", "rules", "CC", "library"] , "name": ["grpc_lb_upb"] + , "pure C": ["yes"] , "srcs": ["src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c"] , "hdrs": @@ -1292,6 +1294,7 @@ , "envoy_annotations_upb": { "type": ["@", "rules", "CC", "library"] , "name": ["envoy_annotations_upb"] + , "pure C": ["yes"] , "srcs": [ "src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c" , "src/core/ext/upb-generated/envoy/annotations/resource.upb.c" diff --git a/etc/import/src/core/ext/upb-generated/TARGETS.grpc b/etc/import/src/core/ext/upb-generated/TARGETS.grpc index c9d17ff3..b89db0e7 100644 --- a/etc/import/src/core/ext/upb-generated/TARGETS.grpc +++ b/etc/import/src/core/ext/upb-generated/TARGETS.grpc @@ -1,6 +1,7 @@ { "alts_upb": { "type": ["@", "rules", "CC", "library"] , "name": ["alts_upb"] + , "pure C": ["yes"] , "srcs": [ "src/proto/grpc/gcp/altscontext.upb.c" , "src/proto/grpc/gcp/handshaker.upb.c" -- cgit v1.2.3