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:
parent
2fa0ad1fe4
commit
8f818ee63f
29 changed files with 438 additions and 128 deletions
10
sprout/config/compiler/borland.hpp
Normal file
10
sprout/config/compiler/borland.hpp
Normal 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
|
24
sprout/config/compiler/clang.hpp
Normal file
24
sprout/config/compiler/clang.hpp
Normal 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
|
10
sprout/config/compiler/codegear.hpp
Normal file
10
sprout/config/compiler/codegear.hpp
Normal 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
|
6
sprout/config/compiler/comeau.hpp
Normal file
6
sprout/config/compiler/comeau.hpp
Normal 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
|
10
sprout/config/compiler/common_edg.hpp
Normal file
10
sprout/config/compiler/common_edg.hpp
Normal 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
|
6
sprout/config/compiler/compaq_cxx.hpp
Normal file
6
sprout/config/compiler/compaq_cxx.hpp
Normal 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
|
6
sprout/config/compiler/cray.hpp
Normal file
6
sprout/config/compiler/cray.hpp
Normal 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
|
10
sprout/config/compiler/digitalmars.hpp
Normal file
10
sprout/config/compiler/digitalmars.hpp
Normal 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
|
24
sprout/config/compiler/gcc.hpp
Normal file
24
sprout/config/compiler/gcc.hpp
Normal 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
|
10
sprout/config/compiler/gcc_xml.hpp
Normal file
10
sprout/config/compiler/gcc_xml.hpp
Normal 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
|
6
sprout/config/compiler/greenhills.hpp
Normal file
6
sprout/config/compiler/greenhills.hpp
Normal 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
|
6
sprout/config/compiler/hp_acc.hpp
Normal file
6
sprout/config/compiler/hp_acc.hpp
Normal 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
|
6
sprout/config/compiler/intel.hpp
Normal file
6
sprout/config/compiler/intel.hpp
Normal 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
|
6
sprout/config/compiler/kai.hpp
Normal file
6
sprout/config/compiler/kai.hpp
Normal 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
|
10
sprout/config/compiler/metrowerks.hpp
Normal file
10
sprout/config/compiler/metrowerks.hpp
Normal 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
|
10
sprout/config/compiler/mpw.hpp
Normal file
10
sprout/config/compiler/mpw.hpp
Normal 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
|
10
sprout/config/compiler/nvcc.hpp
Normal file
10
sprout/config/compiler/nvcc.hpp
Normal 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
|
12
sprout/config/compiler/pathscale.hpp
Normal file
12
sprout/config/compiler/pathscale.hpp
Normal 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
|
10
sprout/config/compiler/pgi.hpp
Normal file
10
sprout/config/compiler/pgi.hpp
Normal 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
|
6
sprout/config/compiler/sgi_mipspro.hpp
Normal file
6
sprout/config/compiler/sgi_mipspro.hpp
Normal 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
|
10
sprout/config/compiler/sunpro_cc.hpp
Normal file
10
sprout/config/compiler/sunpro_cc.hpp
Normal 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
|
10
sprout/config/compiler/vacpp.hpp
Normal file
10
sprout/config/compiler/vacpp.hpp
Normal 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
|
10
sprout/config/compiler/visualc.hpp
Normal file
10
sprout/config/compiler/visualc.hpp
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue