Skip to content

Commit

Permalink
different approach
Browse files Browse the repository at this point in the history
  • Loading branch information
scotthart committed Dec 4, 2024
1 parent 1dd89ad commit a9091ee
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions ci/gha/builds/windows-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ fi
# [2]: https://stackoverflow.com/questions/3775406
args+=("-DCMAKE_EXE_LINKER_FLAGS=/MANIFEST:NO")

args+=("-DCMAKE_CXX_FLAGS= /wd4996")

io::log_h1 "Starting Build"
TIMEFORMAT="==> 🕑 CMake configuration done in %R seconds"
time {
Expand Down
1 change: 1 addition & 0 deletions cmake/GoogleCloudCppCommonOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ function (google_cloud_cpp_add_common_options target)
return()
endif ()
target_compile_options(${target} PRIVATE "/W3")
target_compile_options(${target} PRIVATE "/wd4996")
if (GOOGLE_CLOUD_CPP_ENABLE_WERROR)
target_compile_options(${target} PRIVATE "/WX")
endif ()
Expand Down
1 change: 0 additions & 1 deletion google/cloud/bigtable/test_proxy/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ cc_library(
testonly = True,
srcs = ["cbt_test_proxy.cc"],
hdrs = ["cbt_test_proxy.h"],
copts = ["-Wno-deprecated-declarations"],
deps = [
"//:bigtable",
"//protos:system_includes",
Expand Down

0 comments on commit a9091ee

Please sign in to comment.