Skip to content

Commit bec5b5a

Browse files
authored
Add missing copts attribute (#21982)
This will add the `-Wno-sign-compare` flag and thereby silence warnings or errors about comparing integers of different signedness. Fixes #21938. PiperOrigin-RevId: 763894798
1 parent 0fe099a commit bec5b5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/google/protobuf/compiler/java/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ cc_library(
8585
"generator.h",
8686
"internal_helpers.h",
8787
],
88+
copts = COPTS,
8889
strip_include_prefix = "/src",
8990
visibility = [
9091
"//src/google/protobuf/compiler/java:__subpackages__",

0 commit comments

Comments
 (0)