2012-04-13 07:00:30 +00:00
|
|
|
#ifndef SPROUT_CONFIG_COMPILER_GCC_HPP
|
|
|
|
#define SPROUT_CONFIG_COMPILER_GCC_HPP
|
|
|
|
|
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
|
|
# define SPROUT_NO_CONSTEXPR
|
|
|
|
#endif
|
|
|
|
|
2012-12-17 14:10:23 +00:00
|
|
|
#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
|
|
|
|
|
2012-04-13 07:00:30 +00:00
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
|
|
# define SPROUT_NO_NOEXCEPT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
|
|
# define SPROUT_NO_TEMPLATE_ALIASES
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
|
|
# define SPROUT_NO_USER_DEFINED_LITERALS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
|
|
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
|
|
|
#endif
|
|
|
|
|
2012-12-17 14:10:23 +00:00
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
|
|
# define SPROUT_NO_UNICODE_LITERALS
|
|
|
|
#endif
|
|
|
|
|
2012-05-04 03:09:06 +00:00
|
|
|
#if ((__GNUC__ >= 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
|
|
# define SPROUT_HAS_CONSTEXPR_CMATH_FUNCTION
|
|
|
|
#endif
|
|
|
|
|
2012-06-22 13:56:25 +00:00
|
|
|
#if ((__GNUC__ >= 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
|
|
# define SPROUT_HAS_CONSTEXPR_BIT_OPERATION
|
|
|
|
#endif
|
|
|
|
|
2012-04-13 07:00:30 +00:00
|
|
|
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_HPP
|