fix c+ constexpr config+

This commit is contained in:
bolero-MURAKAMI 2013-10-10 10:01:00 +09:00
parent 9e678c517d
commit d5c84b07c9
2 changed files with 2 additions and 4 deletions

View file

@ -44,7 +44,7 @@
# define SPROUT_NO_CXX11_UNICODE_LITERALS
#endif
#if (!__has_feature(cxx_constexpr) || __cplusplus < 201305L)
#if (!__has_feature(cxx_constexpr) || __cplusplus < 201305L || __clang_major__ < 3 || (__clang_major__ == 3 && __clang_minor__ < 4))
# define SPROUT_NO_CXX14_CONSTEXPR
#endif

View file

@ -52,8 +52,6 @@
# define SPROUT_HAS_CONSTEXPR_BIT_OPERATION
#endif
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9) || __cplusplus < 201300L)
# define SPROUT_NO_CXX14_CONSTEXPR
#endif
#define SPROUT_NO_CXX14_CONSTEXPR
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_HPP