Debian Codegraph @

feature_detection/features.h

raw symbols SCIP
1 // This file has originally been generated using the WriteCompilerDetectionHeadercxx . . $ `<file>/feature_detection/features.h`/
2 // CMake module. It is now provided directly because the module has been deprecated.
3
4 #ifndef CPP_UTILITIES_COMPILER_DETECTION_H
5 #define CPP_UTILITIES_COMPILER_DETECTION_Hcxx . . $ `feature_detection/features.h:5:9`!
6
7 #ifdef __cpluspluscxx . . $ `<built-in>:472:9`!
8 # define CPP_UTILITIES_COMPILER_IS_Comeaucxx . . $ `feature_detection/features.h:8:10`! 0
9 # define CPP_UTILITIES_COMPILER_IS_Intelcxx . . $ `feature_detection/features.h:9:10`! 0
10 # define CPP_UTILITIES_COMPILER_IS_IntelLLVMcxx . . $ `feature_detection/features.h:10:10`! 0
11 # define CPP_UTILITIES_COMPILER_IS_PathScalecxx . . $ `feature_detection/features.h:11:10`! 0
12 # define CPP_UTILITIES_COMPILER_IS_Embarcaderocxx . . $ `feature_detection/features.h:12:10`! 0
13 # define CPP_UTILITIES_COMPILER_IS_Borlandcxx . . $ `feature_detection/features.h:13:10`! 0
14 # define CPP_UTILITIES_COMPILER_IS_Watcomcxx . . $ `feature_detection/features.h:14:10`! 0
15 # define CPP_UTILITIES_COMPILER_IS_OpenWatcomcxx . . $ `feature_detection/features.h:15:10`! 0
16 # define CPP_UTILITIES_COMPILER_IS_SunProcxx . . $ `feature_detection/features.h:16:10`! 0
17 # define CPP_UTILITIES_COMPILER_IS_HPcxx . . $ `feature_detection/features.h:17:10`! 0
18 # define CPP_UTILITIES_COMPILER_IS_Compaqcxx . . $ `feature_detection/features.h:18:10`! 0
19 # define CPP_UTILITIES_COMPILER_IS_zOScxx . . $ `feature_detection/features.h:19:10`! 0
20 # define CPP_UTILITIES_COMPILER_IS_XLClangcxx . . $ `feature_detection/features.h:20:10`! 0
21 # define CPP_UTILITIES_COMPILER_IS_XLcxx . . $ `feature_detection/features.h:21:10`! 0
22 # define CPP_UTILITIES_COMPILER_IS_VisualAgecxx . . $ `feature_detection/features.h:22:10`! 0
23 # define CPP_UTILITIES_COMPILER_IS_NVHPCcxx . . $ `feature_detection/features.h:23:10`! 0
24 # define CPP_UTILITIES_COMPILER_IS_PGIcxx . . $ `feature_detection/features.h:24:10`! 0
25 # define CPP_UTILITIES_COMPILER_IS_Craycxx . . $ `feature_detection/features.h:25:10`! 0
26 # define CPP_UTILITIES_COMPILER_IS_TIcxx . . $ `feature_detection/features.h:26:10`! 0
27 # define CPP_UTILITIES_COMPILER_IS_Fujitsucxx . . $ `feature_detection/features.h:27:10`! 0
28 # define CPP_UTILITIES_COMPILER_IS_GHScxx . . $ `feature_detection/features.h:28:10`! 0
29 # define CPP_UTILITIES_COMPILER_IS_SCOcxx . . $ `feature_detection/features.h:29:10`! 0
30 # define CPP_UTILITIES_COMPILER_IS_ARMCCcxx . . $ `feature_detection/features.h:30:10`! 0
31 # define CPP_UTILITIES_COMPILER_IS_AppleClangcxx . . $ `feature_detection/features.h:31:10`! 0
32 # define CPP_UTILITIES_COMPILER_IS_ARMClangcxx . . $ `feature_detection/features.h:32:10`! 0
33 # define CPP_UTILITIES_COMPILER_IS_Clangcxx . . $ `feature_detection/features.h:33:10`! 0
34 # define CPP_UTILITIES_COMPILER_IS_GNUcxx . . $ `feature_detection/features.h:34:10`! 0
35 # define CPP_UTILITIES_COMPILER_IS_MSVCcxx . . $ `feature_detection/features.h:35:10`! 0
36 # define CPP_UTILITIES_COMPILER_IS_ADSPcxx . . $ `feature_detection/features.h:36:10`! 0
37 # define CPP_UTILITIES_COMPILER_IS_IARcxx . . $ `feature_detection/features.h:37:10`! 0
38 # define CPP_UTILITIES_COMPILER_IS_MIPSprocxx . . $ `feature_detection/features.h:38:10`! 0
39
40 #if defined(__COMO__)
41 # undef CPP_UTILITIES_COMPILER_IS_Comeau
42 # define CPP_UTILITIES_COMPILER_IS_Comeau 1
43
44 #elif defined(__INTEL_COMPILER) || defined(__ICC)
45 # undef CPP_UTILITIES_COMPILER_IS_Intel
46 # define CPP_UTILITIES_COMPILER_IS_Intel 1
47
48 #elif (defined(__clang__cxx . . $ `<built-in>:3:9`!) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
49 # undef CPP_UTILITIES_COMPILER_IS_IntelLLVM
50 # define CPP_UTILITIES_COMPILER_IS_IntelLLVM 1
51
52 #elif defined(__PATHCC__)
53 # undef CPP_UTILITIES_COMPILER_IS_PathScale
54 # define CPP_UTILITIES_COMPILER_IS_PathScale 1
55
56 #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
57 # undef CPP_UTILITIES_COMPILER_IS_Embarcadero
58 # define CPP_UTILITIES_COMPILER_IS_Embarcadero 1
59
60 #elif defined(__BORLANDC__)
61 # undef CPP_UTILITIES_COMPILER_IS_Borland
62 # define CPP_UTILITIES_COMPILER_IS_Borland 1
63
64 #elif defined(__WATCOMC__) && __WATCOMC__ < 1200
65 # undef CPP_UTILITIES_COMPILER_IS_Watcom
66 # define CPP_UTILITIES_COMPILER_IS_Watcom 1
67
68 #elif defined(__WATCOMC__)
69 # undef CPP_UTILITIES_COMPILER_IS_OpenWatcom
70 # define CPP_UTILITIES_COMPILER_IS_OpenWatcom 1
71
72 #elif defined(__SUNPRO_CC)
73 # undef CPP_UTILITIES_COMPILER_IS_SunPro
74 # define CPP_UTILITIES_COMPILER_IS_SunPro 1
75
76 #elif defined(__HP_aCC)
77 # undef CPP_UTILITIES_COMPILER_IS_HP
78 # define CPP_UTILITIES_COMPILER_IS_HP 1
79
80 #elif defined(__DECCXX)
81 # undef CPP_UTILITIES_COMPILER_IS_Compaq
82 # define CPP_UTILITIES_COMPILER_IS_Compaq 1
83
84 #elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
85 # undef CPP_UTILITIES_COMPILER_IS_zOS
86 # define CPP_UTILITIES_COMPILER_IS_zOS 1
87
88 #elif defined(__ibmxl__) && defined(__clang__cxx . . $ `<built-in>:3:9`!)
89 # undef CPP_UTILITIES_COMPILER_IS_XLClang
90 # define CPP_UTILITIES_COMPILER_IS_XLClang 1
91
92 #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
93 # undef CPP_UTILITIES_COMPILER_IS_XL
94 # define CPP_UTILITIES_COMPILER_IS_XL 1
95
96 #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
97 # undef CPP_UTILITIES_COMPILER_IS_VisualAge
98 # define CPP_UTILITIES_COMPILER_IS_VisualAge 1
99
100 #elif defined(__NVCOMPILER)
101 # undef CPP_UTILITIES_COMPILER_IS_NVHPC
102 # define CPP_UTILITIES_COMPILER_IS_NVHPC 1
103
104 #elif defined(__PGI)
105 # undef CPP_UTILITIES_COMPILER_IS_PGI
106 # define CPP_UTILITIES_COMPILER_IS_PGI 1
107
108 #elif defined(_CRAYC)
109 # undef CPP_UTILITIES_COMPILER_IS_Cray
110 # define CPP_UTILITIES_COMPILER_IS_Cray 1
111
112 #elif defined(__TI_COMPILER_VERSION__)
113 # undef CPP_UTILITIES_COMPILER_IS_TI
114 # define CPP_UTILITIES_COMPILER_IS_TI 1
115
116 #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
117 # undef CPP_UTILITIES_COMPILER_IS_Fujitsu
118 # define CPP_UTILITIES_COMPILER_IS_Fujitsu 1
119
120 #elif defined(__ghs__)
121 # undef CPP_UTILITIES_COMPILER_IS_GHS
122 # define CPP_UTILITIES_COMPILER_IS_GHS 1
123
124 #elif defined(__SCO_VERSION__)
125 # undef CPP_UTILITIES_COMPILER_IS_SCO
126 # define CPP_UTILITIES_COMPILER_IS_SCO 1
127
128 #elif defined(__ARMCC_VERSION) && !defined(__clang__cxx . . $ `<built-in>:3:9`!)
129 # undef CPP_UTILITIES_COMPILER_IS_ARMCC
130 # define CPP_UTILITIES_COMPILER_IS_ARMCC 1
131
132 #elif defined(__clang__cxx . . $ `<built-in>:3:9`!) && defined(__apple_build_version__)
133 # undef CPP_UTILITIES_COMPILER_IS_AppleClang
134 # define CPP_UTILITIES_COMPILER_IS_AppleClang 1
135
136 #elif defined(__clang__cxx . . $ `<built-in>:3:9`!) && defined(__ARMCOMPILER_VERSION)
137 # undef CPP_UTILITIES_COMPILER_IS_ARMClang
138 # define CPP_UTILITIES_COMPILER_IS_ARMClang 1
139
140 #elif defined(__clang__cxx . . $ `<built-in>:3:9`!)
141 # undef CPP_UTILITIES_COMPILER_IS_Clangcxx . . $ `feature_detection/features.h:33:10`!
142 # define CPP_UTILITIES_COMPILER_IS_Clangcxx . . $ `feature_detection/features.h:142:10`! 1
143
144 #elif defined(__GNUC__) || defined(__GNUG__)
145 # undef CPP_UTILITIES_COMPILER_IS_GNU
146 # define CPP_UTILITIES_COMPILER_IS_GNU 1
147
148 #elif defined(_MSC_VER)
149 # undef CPP_UTILITIES_COMPILER_IS_MSVC
150 # define CPP_UTILITIES_COMPILER_IS_MSVC 1
151
152 #elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
153 # undef CPP_UTILITIES_COMPILER_IS_ADSP
154 # define CPP_UTILITIES_COMPILER_IS_ADSP 1
155
156 #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
157 # undef CPP_UTILITIES_COMPILER_IS_IAR
158 # define CPP_UTILITIES_COMPILER_IS_IAR 1
159
160
161 #endif
162
163 # if CPP_UTILITIES_COMPILER_IS_GNUcxx . . $ `feature_detection/features.h:34:10`!
164
165 # if !((__GNUC__ * 100 + __GNUC_MINOR__) >= 404)
166 # error Unsupported compiler version
167 # endif
168
169 # if defined(__GNUC__)
170 # define CPP_UTILITIES_COMPILER_VERSION_MAJOR (__GNUC__)
171 # else
172 # define CPP_UTILITIES_COMPILER_VERSION_MAJOR (__GNUG__)
173 # endif
174 # if defined(__GNUC_MINOR__)
175 # define CPP_UTILITIES_COMPILER_VERSION_MINOR (__GNUC_MINOR__)
176 # endif
177 # if defined(__GNUC_PATCHLEVEL__)
178 # define CPP_UTILITIES_COMPILER_VERSION_PATCH (__GNUC_PATCHLEVEL__)
179 # endif
180
181 # if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
182 # define CPP_UTILITIES_COMPILER_CXX_THREAD_LOCAL 1
183 # else
184 # define CPP_UTILITIES_COMPILER_CXX_THREAD_LOCAL 0
185 # endif
186
187 # elif CPP_UTILITIES_COMPILER_IS_Clangcxx . . $ `feature_detection/features.h:142:10`!
188
189 # if !(((__clang_major__cxx . . $ `<built-in>:4:9`! * 100) + __clang_minor__cxx . . $ `<built-in>:5:9`!) >= 301)
190 # error Unsupported compiler version
191 # endif
192
193 # define CPP_UTILITIES_COMPILER_VERSION_MAJORcxx . . $ `feature_detection/features.h:193:10`! (__clang_major__)
194 # define CPP_UTILITIES_COMPILER_VERSION_MINORcxx . . $ `feature_detection/features.h:194:10`! (__clang_minor__)
195 # define CPP_UTILITIES_COMPILER_VERSION_PATCHcxx . . $ `feature_detection/features.h:195:10`! (__clang_patchlevel__)
196 # if defined(_MSC_VER)
197 /* _MSC_VER = VVRR */
198 # define CPP_UTILITIES_SIMULATE_VERSION_MAJOR (_MSC_VER / 100)
199 # define CPP_UTILITIES_SIMULATE_VERSION_MINOR (_MSC_VER % 100)
200 # endif
201
202 # if ((__clang_major__cxx . . $ `<built-in>:4:9`! * 100) + __clang_minor__cxx . . $ `<built-in>:5:9`!) >= 301 && __has_feature(cxx_thread_local)
203 # define CPP_UTILITIES_COMPILER_CXX_THREAD_LOCALcxx . . $ `feature_detection/features.h:203:15`! 1
204 # else
205 # define CPP_UTILITIES_COMPILER_CXX_THREAD_LOCAL 0
206 # endif
207
208 # elif CPP_UTILITIES_COMPILER_IS_AppleClang
209
210 # if !(((__clang_major__ * 100) + __clang_minor__) >= 400)
211 # error Unsupported compiler version
212 # endif
213
214 # define CPP_UTILITIES_COMPILER_VERSION_MAJOR (__clang_major__)
215 # define CPP_UTILITIES_COMPILER_VERSION_MINOR (__clang_minor__)
216 # define CPP_UTILITIES_COMPILER_VERSION_PATCH (__clang_patchlevel__)
217 # if defined(_MSC_VER)
218 /* _MSC_VER = VVRR */
219 # define CPP_UTILITIES_SIMULATE_VERSION_MAJOR (_MSC_VER / 100)
220 # define CPP_UTILITIES_SIMULATE_VERSION_MINOR (_MSC_VER % 100)
221 # endif
222 # define CPP_UTILITIES_COMPILER_VERSION_TWEAK (__apple_build_version__)
223
224 # if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_thread_local)
225 # define CPP_UTILITIES_COMPILER_CXX_THREAD_LOCAL 1
226 # else
227 # define CPP_UTILITIES_COMPILER_CXX_THREAD_LOCAL 0
228 # endif
229 # endif
230
231 # if defined(CPP_UTILITIES_COMPILER_CXX_THREAD_LOCALcxx . . $ `feature_detection/features.h:203:15`!) && CPP_UTILITIES_COMPILER_CXX_THREAD_LOCALcxx . . $ `feature_detection/features.h:203:15`!
232 # define CPP_UTILITIES_THREAD_LOCALcxx . . $ `feature_detection/features.h:232:13`! thread_local
233 # elif CPP_UTILITIES_COMPILER_IS_GNU || CPP_UTILITIES_COMPILER_IS_Clang || CPP_UTILITIES_COMPILER_IS_AppleClang
234 # define CPP_UTILITIES_THREAD_LOCAL __thread
235 # elif CPP_UTILITIES_COMPILER_IS_MSVC
236 # define CPP_UTILITIES_THREAD_LOCAL __declspec(thread) static
237 # else
238 // CPP_UTILITIES_THREAD_LOCAL not defined for this configuration.
239 # endif
240
241 #endif
242
243 #endif