Skip to content

Commit a9091ee

Browse files
committed
different approach
1 parent 1dd89ad commit a9091ee

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

ci/gha/builds/windows-cmake.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ fi
5252
# [2]: https://stackoverflow.com/questions/3775406
5353
args+=("-DCMAKE_EXE_LINKER_FLAGS=/MANIFEST:NO")
5454

55-
args+=("-DCMAKE_CXX_FLAGS= /wd4996")
56-
5755
io::log_h1 "Starting Build"
5856
TIMEFORMAT="==> 🕑 CMake configuration done in %R seconds"
5957
time {

cmake/GoogleCloudCppCommonOptions.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ function (google_cloud_cpp_add_common_options target)
8080
return()
8181
endif ()
8282
target_compile_options(${target} PRIVATE "/W3")
83+
target_compile_options(${target} PRIVATE "/wd4996")
8384
if (GOOGLE_CLOUD_CPP_ENABLE_WERROR)
8485
target_compile_options(${target} PRIVATE "/WX")
8586
endif ()

google/cloud/bigtable/test_proxy/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ cc_library(
2222
testonly = True,
2323
srcs = ["cbt_test_proxy.cc"],
2424
hdrs = ["cbt_test_proxy.h"],
25-
copts = ["-Wno-deprecated-declarations"],
2625
deps = [
2726
"//:bigtable",
2827
"//protos:system_includes",

0 commit comments

Comments
 (0)