From da0d96c349fb490e67a89b511a40aad70f4a1d8a Mon Sep 17 00:00:00 2001 From: Loo Rong Jie Date: Thu, 25 Jan 2018 09:58:03 +0800 Subject: [Bazel/MSVC] Don't use -fexceptions directly --- absl/types/BUILD.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/absl/types/BUILD.bazel b/absl/types/BUILD.bazel index 60d6a60fa881..c2f033870ab0 100644 --- a/absl/types/BUILD.bazel +++ b/absl/types/BUILD.bazel @@ -110,7 +110,7 @@ cc_test( name = "span_test", size = "small", srcs = ["span_test.cc"], - copts = ABSL_TEST_COPTS + ["-fexceptions"], + copts = ABSL_TEST_COPTS + ABSL_EXCEPTIONS_FLAG, deps = [ ":span", "//absl/base:config", -- cgit 1.4.1