mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
add compiler-config: SPROUT_NO_CXX14_CONSTEXPR
This commit is contained in:
parent
a786a7ccb1
commit
05a1ebfa85
20 changed files with 229 additions and 188 deletions
|
@ -2,42 +2,44 @@
|
|||
#define SPROUT_CONFIG_COMPILER_CLANG_HPP
|
||||
|
||||
#if !__has_feature(cxx_constexpr)
|
||||
# define SPROUT_NO_CONSTEXPR
|
||||
# define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_defaulted_functions)
|
||||
# define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_deleted_functions)
|
||||
# define SPROUT_NO_DELETED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_explicit_conversions)
|
||||
# define SPROUT_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||
# define SPROUT_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_noexcept)
|
||||
# define SPROUT_NO_NOEXCEPT
|
||||
# define SPROUT_NO_CXX11_NOEXCEPT
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_alias_templates)
|
||||
# define SPROUT_NO_TEMPLATE_ALIASES
|
||||
# define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_user_literals)
|
||||
# define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
# define SPROUT_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_delegating_constructors)
|
||||
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_NO_CXX11_DELEGATING_CONSTRUCTORS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_unicode_literals)
|
||||
# define SPROUT_NO_UNICODE_LITERALS
|
||||
# define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
#endif
|
||||
|
||||
#if !defined(SPROUT_NO_CONSTEXPR)
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#if !defined(SPROUT_NO_CXX11_CONSTEXPR)
|
||||
# define SPROUT_WORKAROUND_NOT_TERMINATE_RECURSIVE_CONSTEXPR_FUNCTION_TEMPLATE
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue