From efff7af8cbfc7f5fc2cd137b4ea455e20e371253 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Thu, 23 Oct 2014 16:01:16 +0200 Subject: [PATCH] [clang] correction version for align_t workaround --- triqs/utility/first_include.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triqs/utility/first_include.hpp b/triqs/utility/first_include.hpp index 8b8ac45d..e6826dfb 100644 --- a/triqs/utility/first_include.hpp +++ b/triqs/utility/first_include.hpp @@ -22,7 +22,7 @@ #define TRIQS_ARRAYS_FIRST_INCLUDE_PYTHON_H // clang but not libc++ -#if defined(__clang__) and !defined(_LIBCPP_VERSION) and (__clang_major__ <= 3) and (__clang_minor__ <= 4) and (__clang_patchlevel__ < 2) +#if defined(__clang__) and !defined(_LIBCPP_VERSION) and (__clang_major__ <= 3) and (__clang_minor__ <= 5) and (__clang_patchlevel__ < 2) // workaround an error in gcc stdlib, but corrected in clang 3.4.2 typedef long double max_align_t; #endif