Skip to content

Commit eae2a0f

Browse files
committed
Silence warnings from upstream m4 and flex dependencies
1 parent 3081e7c commit eae2a0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.bazelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ build --linkopt=-Wl,-z,noexecstack
77

88
test --test_output=errors
99

10-
# Silence deprecation warnings in upstream protobuf
10+
# Silence warnings in upstream C/C++ dependencies
1111
build --per_file_copt=external/protobuf\\+/.*@-Wno-deprecated-declarations
1212
build --host_per_file_copt=external/protobuf\\+/.*@-Wno-deprecated-declarations
13+
build --host_per_file_copt=external/rules_m4\\+\\+.*@-Wno-ignored-attributes
14+
build --host_per_file_copt=external/rules_flex\\+\\+.*@-Wno-pointer-sign,-Wno-misleading-indentation
1315

1416
# Use prebuilt protoc instead of compiling from source
1517
common --incompatible_enable_proto_toolchain_resolution

0 commit comments

Comments
 (0)