mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 13:53:40 +01:00
Fix #100.
- The workaround for align_t in C++14 mode has been fixed in recent version of clang. - Does not apply to OS X (it uses libc++).
This commit is contained in:
parent
8d7dd34aeb
commit
62e84aa821
@ -22,8 +22,8 @@
|
|||||||
#define TRIQS_ARRAYS_FIRST_INCLUDE_PYTHON_H
|
#define TRIQS_ARRAYS_FIRST_INCLUDE_PYTHON_H
|
||||||
|
|
||||||
// clang but not libc++
|
// clang but not libc++
|
||||||
#if defined(__clang__) and !defined(_LIBCPP_VERSION)
|
#if defined(__clang__) and !defined(_LIBCPP_VERSION) and (__clang_major__ <= 3) and (__clang_minor__ <= 4) and (__clang_patchlevel__ < 2)
|
||||||
// workaround an error in gcc stdlib
|
// workaround an error in gcc stdlib, but corrected in clang 3.4.2
|
||||||
typedef long double max_align_t;
|
typedef long double max_align_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user