This repository was archived by the owner on Jul 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,15 +32,16 @@ load(
3232)
3333
3434WERROR = ["-Werror=return-type" , "-Werror=switch" ]
35+ WARN_FLAGS = ["-Wno-sign-compare" ]
3536
3637DEFAULT_COPTS = select ({
37- "//opencensus:llvm_compiler" : ABSL_LLVM_FLAGS + WERROR ,
38+ "//opencensus:llvm_compiler" : ABSL_LLVM_FLAGS + WERROR + WARN_FLAGS ,
3839 "//opencensus:windows" : ABSL_MSVC_FLAGS ,
39- "//conditions:default" : ABSL_GCC_FLAGS + WERROR ,
40+ "//conditions:default" : ABSL_GCC_FLAGS + WERROR + WARN_FLAGS ,
4041})
4142
4243TEST_COPTS = DEFAULT_COPTS + select ({
43- "//opencensus:llvm_compiler" : ABSL_LLVM_TEST_FLAGS + WERROR ,
44+ "//opencensus:llvm_compiler" : ABSL_LLVM_TEST_FLAGS + WERROR + WARN_FLAGS ,
4445 "//opencensus:windows" : ABSL_MSVC_TEST_FLAGS ,
45- "//conditions:default" : ABSL_GCC_TEST_FLAGS + WERROR ,
46+ "//conditions:default" : ABSL_GCC_TEST_FLAGS + WERROR + WARN_FLAGS ,
4647})
You can’t perform that action at this time.
0 commit comments