 |
DATAKIT API
V2025.2
|
|
Go to the documentation of this file. 1 #ifndef DTK_COMPILER_GCC_H
2 #define DTK_COMPILER_GCC_H
5 This File shouldn
't be used with this compiler !!!'
11 #define DTK_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
13 #if !defined(__CUDACC__)
14 #define DTK_GCC DTK_GCC_VERSION
18 #ifdef AF51BDA7E49648f8AB95949F4CA52EF8
20 #define DTK_CDECL __attribute__((cdecl))
21 #define DTK_STDCALL __attribute__((stdcall))
26 #if defined(__GXX_EXPERIMENTAL_CXX0X__) || (__cplusplus >= 201103L)
27 # define DTK_GCC_CXX11
32 #if (DTK_GCC_VERSION >= 40300) && defined(DTK_GCC_CXX11)
36 # define DTK_HAS_STATIC_ASSERT
37 # define DTK_HAS_DECLTYPE
38 # define DTK_HAS_RVALUE_REFS
40 # define DTK_NO_CXX11_STATIC_ASSERT
41 # define DTK_NO_CXX11_DECLTYPE
42 # define DTK_NO_CXX11_RVALUE_REFERENCES
47 #if (DTK_GCC_VERSION < 40400) || !defined(DTK_GCC_CXX11)
48 # define DTK_NO_CXX11_CHAR16_T
49 # define DTK_NO_CXX11_CHAR32_T
50 # define DTK_NO_CXX11_VARIADIC_TEMPLATES
51 # define DTK_NO_CXX11_DELETED_FUNCTIONS
56 #if (DTK_GCC_VERSION < 40500) || !defined(DTK_GCC_CXX11)
57 # define DTK_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
62 #if (DTK_GCC_VERSION < 40600) || !defined(DTK_GCC_CXX11)
63 #define DTK_NO_CXX11_NULLPTR
64 #define DTK_NO_CXX11_NOEXCEPT
65 #define DTK_NO_CXX11_CONSTEXPR
69 #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
70 # define DTK_NO_CXX14_CONSTEXPR
73 #if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3) && !defined(__GCCXML__))) && !defined(DTK_CLANG)
74 # define DTK_MOVE_IS_EMPTY(T) __is_empty(T)
75 # define DTK_MOVE_IS_UNION(T) __is_union(T)
76 # define DTK_MOVE_IS_ENUM(T) __is_enum(T)
84 #if !defined(__DARWIN_NO_LONG_LONG)
85 # define DTK_HAS_LONG_LONG