Skip to content

Commit 9fd25ee

Browse files
committed
fix: ignore instrument-hooks warning
1 parent eaa5ee2 commit 9fd25ee

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

core/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ cc_library(
2929
"-Wno-unused-parameter",
3030
"-Wno-unused-but-set-variable",
3131
"-Wno-type-limits",
32+
"-Wno-format",
33+
"-Wno-format-security",
3234
],
3335
}),
3436
visibility = ["//visibility:public"],

core/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
3535
-Wno-unused-parameter
3636
-Wno-unused-but-set-variable
3737
-Wno-type-limits
38+
-Wno-format
39+
-Wno-format-security
3840
)
3941
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
4042
target_compile_options(

0 commit comments

Comments
 (0)