about summary refs log tree commit diff
path: root/absl/copts.bzl
diff options
context:
space:
mode:
authorvocaviking <vocaviking@users.noreply.github.com>2018-08-08T17·38+0200
committerDerek Mauro <761129+derekmauro@users.noreply.github.com>2018-08-08T17·38-0400
commit29ff6d4860070bf8fcbd39c8805d0c32d56628a3 (patch)
treee1ceccb45cd04f5c2dfadf182e6933e88c286eb0 /absl/copts.bzl
parent083d04dd4a62ebbf037079b06e49b323c5e1192a (diff)
Removed "warning treated as error" flag from MSVC (#153)
* Removed "warning treated as error" flag from MSVC

Setting the "warning treated as error" flag in public projects is problematic, because it can lead to compilation errors for users, when the compiler adds new warnings. This however, does not mean that the project has a bug, only that it emits a new warning. Nevertheless it still fails to compile.
Diffstat (limited to 'absl/copts.bzl')
-rw-r--r--absl/copts.bzl1
1 files changed, 0 insertions, 1 deletions
diff --git a/absl/copts.bzl b/absl/copts.bzl
index 0168ac5abddc..259de30c2358 100644
--- a/absl/copts.bzl
+++ b/absl/copts.bzl
@@ -116,7 +116,6 @@ LLVM_TEST_FLAGS = [
 
 MSVC_FLAGS = [
     "/W3",
-    "/WX",
     "/wd4005",  # macro-redefinition
     "/wd4068",  # unknown pragma
     "/wd4244",  # conversion from 'type1' to 'type2', possible loss of data