From 49d30ca3fc8be4d09e7b0faa507b7b848afe5d15 Mon Sep 17 00:00:00 2001 From: khizmax Date: Fri, 30 Sep 2016 18:16:22 +0300 Subject: [PATCH] Fixed CLang 3.9 + libc++ issues --- 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 83cfae47..94069ebb 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 && defined(_LIBCPP_VERSION) && CDS_COMPILER_VERSION < 30900 ) +#if !( CDS_COMPILER == CDS_COMPILER_CLANG && defined(_LIBCPP_VERSION) && CDS_COMPILER_VERSION < 40000 ) //clang error (libc++) 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 92c5c355..985dc4f5 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 && defined(_LIBCPP_VERSION) && CDS_COMPILER_VERSION < 30900 ) +#if !( CDS_COMPILER == CDS_COMPILER_CLANG && defined(_LIBCPP_VERSION) && CDS_COMPILER_VERSION < 40000 ) //clang error (libc++) with atomic fetch_add/fetch_sub TEST_F( cxx11_atomic_func, atomic_pointer_void ) { -- 2.34.1