From 45055c6284d06cdea7febc702092a52c2cd262a8 Mon Sep 17 00:00:00 2001 From: khizmax Date: Mon, 13 Mar 2017 22:16:11 +0300 Subject: [PATCH] Fixed clang 4 incompatibility --- test/unit/misc/cxx11_atomic_class.cpp | 2 +- test/unit/misc/cxx11_atomic_func.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/misc/cxx11_atomic_class.cpp b/test/unit/misc/cxx11_atomic_class.cpp index 72a557d0..a07401c9 100644 --- a/test/unit/misc/cxx11_atomic_class.cpp +++ b/test/unit/misc/cxx11_atomic_class.cpp @@ -788,7 +788,7 @@ namespace { test_atomic_integral_volatile(); } -#if !( CDS_COMPILER == CDS_COMPILER_CLANG && CDS_COMPILER_VERSION < 40000 ) +#if !( CDS_COMPILER == CDS_COMPILER_CLANG && CDS_COMPILER_VERSION < 50000 ) //clang error with atomic fetch_add/fetch_sub TEST_F( cxx11_atomic_class, atomic_pointer_void ) { diff --git a/test/unit/misc/cxx11_atomic_func.cpp b/test/unit/misc/cxx11_atomic_func.cpp index 55e61ab6..f7c348b5 100644 --- a/test/unit/misc/cxx11_atomic_func.cpp +++ b/test/unit/misc/cxx11_atomic_func.cpp @@ -706,7 +706,7 @@ namespace misc { test_atomic_integral_volatile(); } -#if !( CDS_COMPILER == CDS_COMPILER_CLANG && CDS_COMPILER_VERSION < 40000 ) +#if !( CDS_COMPILER == CDS_COMPILER_CLANG && CDS_COMPILER_VERSION < 50000 ) //clang error with atomic fetch_add/fetch_sub TEST_F( cxx11_atomic_func, atomic_pointer_void ) { -- 2.34.1