1
0
Fork 0
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:
bolero-MURAKAMI 2012-12-17 23:10:23 +09:00
parent 5597dcec9b
commit 8b80b159c8
148 changed files with 336 additions and 181 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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