1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

delete auto_config.hpp

add compiler supports
This commit is contained in:
bolero-MURAKAMI 2012-04-13 16:00:30 +09:00
parent 2fa0ad1fe4
commit 8f818ee63f
29 changed files with 438 additions and 128 deletions

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_BORLAND_HPP
#define SPROUT_CONFIG_COMPILER_BORLAND_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_BORLAND_HPP

View file

@ -0,0 +1,24 @@
#ifndef SPROUT_CONFIG_COMPILER_CLANG_HPP
#define SPROUT_CONFIG_COMPILER_CLANG_HPP
#if !__has_feature(cxx_constexpr)
# define SPROUT_NO_CONSTEXPR
#endif
#if !__has_feature(cxx_noexcept)
# define SPROUT_NO_NOEXCEPT
#endif
#if !__has_feature(cxx_alias_templates)
# define SPROUT_NO_TEMPLATE_ALIASES
#endif
#if !__has_feature(cxx_user_literals)
# define SPROUT_NO_USER_DEFINED_LITERALS
#endif
#if !__has_feature(cxx_delegating_constructors)
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif
#endif // #ifndef SPROUT_CONFIG_COMPILER_CLANG_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_CODEGEAR_HPP
#define SPROUT_CONFIG_COMPILER_CODEGEAR_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_CODEGEAR_HPP

View file

@ -0,0 +1,6 @@
#ifndef SPROUT_CONFIG_COMPILER_COMEAU_HPP
#define SPROUT_CONFIG_COMPILER_COMEAU_HPP
#include <sprout/config/compiler/common_edg.hpp>
#endif // #ifndef SPROUT_CONFIG_COMPILER_COMEAU_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_COMMON_EDG_HPP
#define SPROUT_CONFIG_COMPILER_COMMON_EDG_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_COMMON_EDG_HPP

View file

@ -0,0 +1,6 @@
#ifndef SPROUT_CONFIG_COMPILER_COMPAQ_CXX_HPP
#define SPROUT_CONFIG_COMPILER_COMPAQ_CXX_HPP
#include <sprout/config/compiler/common_edg.hpp>
#endif // #ifndef SPROUT_CONFIG_COMPILER_COMPAQ_CXX_HPP

View file

@ -0,0 +1,6 @@
#ifndef SPROUT_CONFIG_COMPILER_CRAY_HPP
#define SPROUT_CONFIG_COMPILER_CRAY_HPP
#include <sprout/config/compiler/common_edg.hpp>
#endif // #ifndef SPROUT_CONFIG_COMPILER_CRAY_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_DIGITALMARS_HPP
#define SPROUT_CONFIG_COMPILER_DIGITALMARS_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_DIGITALMARS_HPP

View file

@ -0,0 +1,24 @@
#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
#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
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_GCC_XML_HPP
#define SPROUT_CONFIG_COMPILER_GCC_XML_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_XML_HPP

View file

@ -0,0 +1,6 @@
#ifndef SPROUT_CONFIG_COMPILER_GREENHILLS_HPP
#define SPROUT_CONFIG_COMPILER_GREENHILLS_HPP
#include <sprout/config/compiler/common_edg.hpp>
#endif // #ifndef SPROUT_CONFIG_COMPILER_GREENHILLS_HPP

View file

@ -0,0 +1,6 @@
#ifndef SPROUT_CONFIG_COMPILER_HP_ACC_HPP
#define SPROUT_CONFIG_COMPILER_HP_ACC_HPP
#include <sprout/config/compiler/common_edg.hpp>
#endif // #ifndef SPROUT_CONFIG_COMPILER_HP_ACC_HPP

View file

@ -0,0 +1,6 @@
#ifndef SPROUT_CONFIG_COMPILER_INTEL_HPP
#define SPROUT_CONFIG_COMPILER_INTEL_HPP
#include <sprout/config/compiler/common_edg.hpp>
#endif // #ifndef SPROUT_CONFIG_COMPILER_INTEL_HPP

View file

@ -0,0 +1,6 @@
#ifndef SPROUT_CONFIG_COMPILER_KAI_HPP
#define SPROUT_CONFIG_COMPILER_KAI_HPP
#include <sprout/config/compiler/common_edg.hpp>
#endif // #ifndef SPROUT_CONFIG_COMPILER_KAI_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_METROWERKS_HPP
#define SPROUT_CONFIG_COMPILER_METROWERKS_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_METROWERKS_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_MPW_HPP
#define SPROUT_CONFIG_COMPILER_MPW_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_MPW_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_NVCC_HPP
#define SPROUT_CONFIG_COMPILER_NVCC_HPP
#if defined(__GNUC__)
# include <sprout/config/compiler/gcc.hpp>
#elif defined(_MSC_VER)
# include <sprout/config/compiler/visualc.hpp>
#endif
#endif // #ifndef SPROUT_CONFIG_COMPILER_NVCC_HPP

View file

@ -0,0 +1,12 @@
#ifndef SPROUT_CONFIG_COMPILER_PATHSCALE_HPP
#define SPROUT_CONFIG_COMPILER_PATHSCALE_HPP
#if __PATHCC__ >= 4
# define SPROUT_NO_CONSTEXPR
# define SPROUT_NO_NOEXCEPT
# define SPROUT_NO_TEMPLATE_ALIASES
# define SPROUT_NO_USER_DEFINED_LITERALS
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif
#endif // #ifndef SPROUT_CONFIG_COMPILER_PATHSCALE_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_PGI_HPP
#define SPROUT_CONFIG_COMPILER_PGI_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_PGI_HPP

View file

@ -0,0 +1,6 @@
#ifndef SPROUT_CONFIG_COMPILER_SGI_MIPSPRO_HPP
#define SPROUT_CONFIG_COMPILER_SGI_MIPSPRO_HPP
#include <sprout/config/compiler/common_edg.hpp>
#endif // #ifndef SPROUT_CONFIG_COMPILER_SGI_MIPSPRO_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_SUNPRO_CC_HPP
#define SPROUT_CONFIG_COMPILER_SUNPRO_CC_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_SUNPRO_CC_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_VACPP_HPP
#define SPROUT_CONFIG_COMPILER_VACPP_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_VACPP_HPP

View file

@ -0,0 +1,10 @@
#ifndef SPROUT_CONFIG_COMPILER_VISUALC_HPP
#define SPROUT_CONFIG_COMPILER_VISUALC_HPP
#define SPROUT_NO_CONSTEXPR
#define SPROUT_NO_NOEXCEPT
#define SPROUT_NO_TEMPLATE_ALIASES
#define SPROUT_NO_USER_DEFINED_LITERALS
#define SPROUT_NO_DELEGATING_CONSTRUCTORS
#endif // #ifndef SPROUT_CONFIG_COMPILER_VISUALC_HPP