ITK  4.13.0
Insight Segmentation and Registration Toolkit
ITK_COMPILER_INFO_UNKNOWN_CXX.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef ITK_COMPILER_INFO_UNKNOWN_CXX_h
19 #define ITK_COMPILER_INFO_UNKNOWN_CXX_h
20 #ifndef itk_compiler_detection_h
21 # error This file may only be included from itk_compiler_detection.h
22 #endif
23 
24 #define ITK_COMPILER_VERSION_MAJOR 0
25 #define ITK_COMPILER_VERSION_MINOR 0
26 #define ITK_COMPILER_VERSION_PATCH 0
27 
28 // For unknown compilers, assume all or non C++11 support
29 // based solely on the value of __cplusplus
30 
31 #if __cplusplus >= 201103L
32 # define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 1
33 # define ITK_COMPILER_CXX_ALIAS_TEMPLATES 1
34 # define ITK_COMPILER_CXX_ALIGNAS 1
35 # define ITK_COMPILER_CXX_ALIGNOF 1
36 # define ITK_COMPILER_CXX_ATTRIBUTES 1
37 # define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 1
38 # define ITK_COMPILER_CXX_AUTO_TYPE 1
39 # define ITK_COMPILER_CXX_BINARY_LITERALS 1
40 # define ITK_COMPILER_CXX_CONSTEXPR 1
41 # define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 1
42 # define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 1
43 # define ITK_COMPILER_CXX_DECLTYPE 1
44 # define ITK_COMPILER_CXX_DECLTYPE_AUTO 1
45 # define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 1
46 # define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 1
47 # define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 1
48 # define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 1
49 # define ITK_COMPILER_CXX_DELETED_FUNCTIONS 1
50 # define ITK_COMPILER_CXX_DIGIT_SEPARATORS 1
51 # define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 1
52 # define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 1
53 # define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 1
54 # define ITK_COMPILER_CXX_EXTERN_TEMPLATES 1
55 # define ITK_COMPILER_CXX_FINAL 1
56 # define ITK_COMPILER_CXX_FUNC_IDENTIFIER 1
57 # define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 1
58 # define ITK_COMPILER_CXX_GENERIC_LAMBDAS 1
59 # define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 1
60 # define ITK_COMPILER_CXX_INLINE_NAMESPACES 1
61 # define ITK_COMPILER_CXX_LAMBDAS 1
62 # define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 1
63 # define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 1
64 # define ITK_COMPILER_CXX_LONG_LONG_TYPE 1
65 # define ITK_COMPILER_CXX_NOEXCEPT 1
66 # define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 1
67 # define ITK_COMPILER_CXX_NULLPTR 1
68 # define ITK_COMPILER_CXX_OVERRIDE 1
69 # define ITK_COMPILER_CXX_RANGE_FOR 1
70 # define ITK_COMPILER_CXX_RAW_STRING_LITERALS 1
71 # define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 1
72 # define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 1
73 # define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 1
74 # define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 1
75 # define ITK_COMPILER_CXX_RVALUE_REFERENCES 1
76 # define ITK_COMPILER_CXX_SIZEOF_MEMBER 1
77 # define ITK_COMPILER_CXX_STATIC_ASSERT 1
78 # define ITK_COMPILER_CXX_STRONG_ENUMS 1
79 # define ITK_COMPILER_CXX_THREAD_LOCAL 1
80 # define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 1
81 # define ITK_COMPILER_CXX_UNICODE_LITERALS 1
82 # define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 1
83 # define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 1
84 # define ITK_COMPILER_CXX_USER_LITERALS 1
85 # define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 1
86 # define ITK_COMPILER_CXX_VARIADIC_MACROS 1
87 # define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 1
88 # define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 1
89 # define ITK_COMPILER_CXX_ATOMIC 1
90 
91 #else
92 // No C++11 support
93 # define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 0
94 # define ITK_COMPILER_CXX_ALIAS_TEMPLATES 0
95 # define ITK_COMPILER_CXX_ALIGNAS 0
96 # define ITK_COMPILER_CXX_ALIGNOF 0
97 # define ITK_COMPILER_CXX_ATTRIBUTES 0
98 # define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 0
99 # define ITK_COMPILER_CXX_AUTO_TYPE 0
100 # define ITK_COMPILER_CXX_BINARY_LITERALS 0
101 # define ITK_COMPILER_CXX_CONSTEXPR 0
102 # define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 0
103 # define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 0
104 # define ITK_COMPILER_CXX_DECLTYPE 0
105 # define ITK_COMPILER_CXX_DECLTYPE_AUTO 0
106 # define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 0
107 # define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 0
108 # define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 0
109 # define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 0
110 # define ITK_COMPILER_CXX_DELETED_FUNCTIONS 0
111 # define ITK_COMPILER_CXX_DIGIT_SEPARATORS 0
112 # define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 0
113 # define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 0
114 # define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 0
115 # define ITK_COMPILER_CXX_EXTERN_TEMPLATES 0
116 # define ITK_COMPILER_CXX_FINAL 0
117 # define ITK_COMPILER_CXX_FUNC_IDENTIFIER 0
118 # define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 0
119 # define ITK_COMPILER_CXX_GENERIC_LAMBDAS 0
120 # define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 0
121 # define ITK_COMPILER_CXX_INLINE_NAMESPACES 0
122 # define ITK_COMPILER_CXX_LAMBDAS 0
123 # define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 0
124 # define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 0
125 # define ITK_COMPILER_CXX_LONG_LONG_TYPE 0
126 # define ITK_COMPILER_CXX_NOEXCEPT 0
127 # define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 0
128 # define ITK_COMPILER_CXX_NULLPTR 0
129 # define ITK_COMPILER_CXX_OVERRIDE 0
130 # define ITK_COMPILER_CXX_RANGE_FOR 0
131 # define ITK_COMPILER_CXX_RAW_STRING_LITERALS 0
132 # define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 0
133 # define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 0
134 # define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 0
135 # define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 0
136 # define ITK_COMPILER_CXX_RVALUE_REFERENCES 0
137 # define ITK_COMPILER_CXX_SIZEOF_MEMBER 0
138 # define ITK_COMPILER_CXX_STATIC_ASSERT 0
139 # define ITK_COMPILER_CXX_STRONG_ENUMS 0
140 # define ITK_COMPILER_CXX_THREAD_LOCAL 0
141 # define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 0
142 # define ITK_COMPILER_CXX_UNICODE_LITERALS 0
143 # define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 0
144 # define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 0
145 # define ITK_COMPILER_CXX_USER_LITERALS 0
146 # define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 0
147 # define ITK_COMPILER_CXX_VARIADIC_MACROS 0
148 # define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 0
149 # define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 0
150 # define ITK_COMPILER_CXX_ATOMIC 0
151 #endif
152 #endif //ITK_COMPILER_INFO_UNKNOWN_CXX_h