mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix for VC++11
This commit is contained in:
parent
5597dcec9b
commit
8b80b159c8
148 changed files with 336 additions and 181 deletions
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_BORLAND_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_BORLAND_HPP
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
# define SPROUT_NO_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_defaulted_functions)
|
||||
# define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_deleted_functions)
|
||||
# define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_noexcept)
|
||||
# define SPROUT_NO_NOEXCEPT
|
||||
#endif
|
||||
|
@ -21,6 +29,10 @@
|
|||
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_unicode_literals)
|
||||
# define SPROUT_NO_UNICODE_LITERALS
|
||||
#endif
|
||||
|
||||
#if !defined(SPROUT_NO_CONSTEXPR)
|
||||
# define SPROUT_WORKAROUND_NOT_TERMINATE_RECURSIVE_CONSTEXPR_FUNCTION_TEMPLATE
|
||||
#endif
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_CODEGEAR_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_CODEGEAR_HPP
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_COMMON_EDG_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_COMMON_EDG_HPP
|
||||
|
|
|
@ -4,6 +4,12 @@
|
|||
#ifdef SPROUT_NO_CONSTEXPR
|
||||
# define SPROUT_NO_CXX11_CONSTEXPR
|
||||
#endif
|
||||
#ifdef SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_DELETED_FUNCTIONS
|
||||
# define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_NOEXCEPT
|
||||
# define SPROUT_NO_CXX11_CNOEXCEPT
|
||||
#endif
|
||||
|
@ -16,5 +22,8 @@
|
|||
#ifdef SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_NO_CXX11_CDELEGATING_CONSTRUCTORS
|
||||
#endif
|
||||
#ifdef SPROUT_NO_UNICODE_LITERALS
|
||||
# define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||
#endif
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_CXX11_HPP
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_DIGITALMARS_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_DIGITALMARS_HPP
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
# define SPROUT_NO_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_NOEXCEPT
|
||||
#endif
|
||||
|
@ -21,6 +29,10 @@
|
|||
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_NO_UNICODE_LITERALS
|
||||
#endif
|
||||
|
||||
#if ((__GNUC__ >= 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__))
|
||||
# define SPROUT_HAS_CONSTEXPR_CMATH_FUNCTION
|
||||
#endif
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_GCC_XML_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_XML_HPP
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_METROWERKS_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_METROWERKS_HPP
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_MPW_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_MPW_HPP
|
||||
|
|
|
@ -3,10 +3,13 @@
|
|||
|
||||
#if __PATHCC__ >= 4
|
||||
# define SPROUT_NO_CONSTEXPR
|
||||
# define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
# define SPROUT_NO_DELETED_FUNCTIONS
|
||||
# define SPROUT_NO_NOEXCEPT
|
||||
# define SPROUT_NO_TEMPLATE_ALIASES
|
||||
# define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
# define SPROUT_NO_UNICODE_LITERALS
|
||||
#endif
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_PATHSCALE_HPP
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_PGI_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_PGI_HPP
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_SUNPRO_CC_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_SUNPRO_CC_HPP
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_VACPP_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_VACPP_HPP
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
#define SPROUT_CONFIG_COMPILER_VISUALC_HPP
|
||||
|
||||
#define SPROUT_NO_CONSTEXPR
|
||||
#define SPROUT_NO_DEFAULTED_FUNCTIONS
|
||||
#define SPROUT_NO_DELETED_FUNCTIONS
|
||||
#define SPROUT_NO_NOEXCEPT
|
||||
#define SPROUT_NO_TEMPLATE_ALIASES
|
||||
#define SPROUT_NO_USER_DEFINED_LITERALS
|
||||
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
||||
#define SPROUT_NO_UNICODE_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_VISUALC_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue