1 #if !defined(sol_config_compiler_gcc_hpp_included)
2 #define sol_config_compiler_gcc_hpp_included
3 /// \addtogroup sol_config
8 * \file sol/config/compiler/gcc.hpp
9 * \brief gcc-specific compiler configuration
10 * \author Sven Suursoho
14 #include <sol/version.hpp>
18 // set compiler name and version
21 #define SOL_COMPILER_GNU 1
23 #define SOL_COMPILER_NAME "g++"
25 #define SOL_COMPILER_VERSION \
26 SOL_MAKE_VERSION(__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__)
33 #if SOL_COMPILER_VERSION >= SOL_MAKE_VERSION(4,3,0)
34 #if defined(__GXX_EXPERIMENTAL_CXX0X__)
35 #define SOL_HAS_STATIC_ASSERT
41 #endif // sol_config_compiler_gcc_hpp_included