summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/gtest.h
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2018-01-25 01:15:18 (GMT)
committerPeter Collingbourne <pcc@google.com>2018-01-25 22:15:43 (GMT)
commit3498a1ac52deb83f30b8170c78bfba9dc6227198 (patch)
tree681aa189ba125f4902409f250716aee01a45ca94 /googletest/include/gtest/gtest.h
parentf9155307911ecdbf344d153adc577e6bb0e0a67c (diff)
downloadgoogletest-3498a1ac52deb83f30b8170c78bfba9dc6227198.zip
googletest-3498a1ac52deb83f30b8170c78bfba9dc6227198.tar.gz
googletest-3498a1ac52deb83f30b8170c78bfba9dc6227198.tar.bz2
Use _CPPUNWIND instead of _HAS_EXCEPTIONS with MSVC.
_HAS_EXCEPTIONS is specific to the MSVC STL and defining it to 0 causes problems with libc++, so libc++ users may leave it undefined. This can cause GTEST_HAS_EXCEPTIONS to be defined incorrectly if the user has disabled exceptions via the compiler, which can lead to build errors. _CPPUNWIND is a builtin macro provided by the compiler so it should work with both STLs.
Diffstat (limited to 'googletest/include/gtest/gtest.h')
0 files changed, 0 insertions, 0 deletions