Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJordan Maples <jomaples@microsoft.com>2020-04-10 00:17:52 +0300
committerJordan Maples <jomaples@microsoft.com>2020-04-10 00:17:52 +0300
commitb7d9d754aca05d248ef17688c94186d9016e551a (patch)
tree63919c8d3b520cfc9eb1a0a9ff3a2bc5580a9074 /tests
parent809aee231519d939c151fc355ded2b4e1b1085c2 (diff)
another attempt at apple clang version filtering
Diffstat (limited to 'tests')
-rw-r--r--tests/span_compatibility_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/span_compatibility_tests.cpp b/tests/span_compatibility_tests.cpp
index 4012839..ef9e50c 100644
--- a/tests/span_compatibility_tests.cpp
+++ b/tests/span_compatibility_tests.cpp
@@ -48,7 +48,7 @@ static_assert(!std::is_convertible<Derived (*)[], Base (*)[]>::value,
// Filtering g++ version < 8, clang version < 7, and XCode 9.4 and 10.1 which looks to be Apple clang versions 9.1 and 10.0.
#if (defined(_MSC_VER)) || \
(defined(__GNUC__) && __GNUC__ > 7) || \
-(defined(__APPLE__) && defined(__clang__) && (!(__clang_major__ == 9 && __clang_minor__ == 1) && !(__clang_major__ == 10 && __clang_minor__ == 0))) || \
+(defined(__apple_build_version__) && __apple_build_version__ != 10001145 && __apple_build_version__ != 9020039 ) || \
(defined(__clang__) && __clang_major__ > 6)
template <class = void>
void ArrayConvertibilityCheck()