diff options
author | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-15 12:49:28 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-15 12:49:54 -0700 |
commit | 4b22c6ba0145f64db40cf53df8fec885cd65738c (patch) | |
tree | 966e41ac3f59bee8f6449847f40fda290c44cce8 /tensorflow/tensorflow.bzl | |
parent | e6ce9ea5a156873c5b927e99d8935e32122538b9 (diff) | |
parent | 86ad3363e18f7df3f86f30150f7b13d389c459e5 (diff) |
Merge pull request #20542 from rongjiecomputer:exception
PiperOrigin-RevId: 204662666
Diffstat (limited to 'tensorflow/tensorflow.bzl')
-rw-r--r-- | tensorflow/tensorflow.bzl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tensorflow/tensorflow.bzl b/tensorflow/tensorflow.bzl index 9259ebe869..955b53f691 100644 --- a/tensorflow/tensorflow.bzl +++ b/tensorflow/tensorflow.bzl @@ -183,9 +183,13 @@ def get_win_copts(is_external=False): "/DEIGEN_AVOID_STL_ARRAY", "/Iexternal/gemmlowp", "/wd4018", # -Wno-sign-compare - "/U_HAS_EXCEPTIONS", - "/D_HAS_EXCEPTIONS=1", - "/EHsc", # -fno-exceptions + # Bazel's CROSSTOOL currently pass /EHsc to enable exception by + # default. We can't pass /EHs-c- to disable exception, otherwise + # we will get a waterfall of flag conflict warnings. Wait for + # Bazel to fix this. + # "/D_HAS_EXCEPTIONS=0", + # "/EHs-c-", + "/wd4577", "/DNOGDI", ] if is_external: |