/usr/include/ITK-4.12/itk_compiler_detection.h is in libinsighttoolkit4-dev 4.12.2-dfsg1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
// This is a generated file. Do not edit!
#ifndef itk_compiler_detection_h
#define itk_compiler_detection_h
#define ITK_DEC(X) (X)
#define ITK_HEX(X) ( \
((X)>>28 & 0xF) * 10000000 + \
((X)>>24 & 0xF) * 1000000 + \
((X)>>20 & 0xF) * 100000 + \
((X)>>16 & 0xF) * 10000 + \
((X)>>12 & 0xF) * 1000 + \
((X)>>8 & 0xF) * 100 + \
((X)>>4 & 0xF) * 10 + \
((X) & 0xF) \
)
#ifdef __cplusplus
# define ITK_COMPILER_IS_Comeau 0
# define ITK_COMPILER_IS_Intel 0
# define ITK_COMPILER_IS_PathScale 0
# define ITK_COMPILER_IS_Embarcadero 0
# define ITK_COMPILER_IS_Borland 0
# define ITK_COMPILER_IS_Watcom 0
# define ITK_COMPILER_IS_OpenWatcom 0
# define ITK_COMPILER_IS_SunPro 0
# define ITK_COMPILER_IS_HP 0
# define ITK_COMPILER_IS_Compaq 0
# define ITK_COMPILER_IS_zOS 0
# define ITK_COMPILER_IS_XL 0
# define ITK_COMPILER_IS_VisualAge 0
# define ITK_COMPILER_IS_PGI 0
# define ITK_COMPILER_IS_Cray 0
# define ITK_COMPILER_IS_TI 0
# define ITK_COMPILER_IS_Fujitsu 0
# define ITK_COMPILER_IS_SCO 0
# define ITK_COMPILER_IS_AppleClang 0
# define ITK_COMPILER_IS_Clang 0
# define ITK_COMPILER_IS_GNU 0
# define ITK_COMPILER_IS_MSVC 0
# define ITK_COMPILER_IS_ADSP 0
# define ITK_COMPILER_IS_IAR 0
# define ITK_COMPILER_IS_ARMCC 0
# define ITK_COMPILER_IS_MIPSpro 0
#if defined(__COMO__)
# undef ITK_COMPILER_IS_Comeau
# define ITK_COMPILER_IS_Comeau 1
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# undef ITK_COMPILER_IS_Intel
# define ITK_COMPILER_IS_Intel 1
#elif defined(__PATHCC__)
# undef ITK_COMPILER_IS_PathScale
# define ITK_COMPILER_IS_PathScale 1
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# undef ITK_COMPILER_IS_Embarcadero
# define ITK_COMPILER_IS_Embarcadero 1
#elif defined(__BORLANDC__)
# undef ITK_COMPILER_IS_Borland
# define ITK_COMPILER_IS_Borland 1
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# undef ITK_COMPILER_IS_Watcom
# define ITK_COMPILER_IS_Watcom 1
#elif defined(__WATCOMC__)
# undef ITK_COMPILER_IS_OpenWatcom
# define ITK_COMPILER_IS_OpenWatcom 1
#elif defined(__SUNPRO_CC)
# undef ITK_COMPILER_IS_SunPro
# define ITK_COMPILER_IS_SunPro 1
#elif defined(__HP_aCC)
# undef ITK_COMPILER_IS_HP
# define ITK_COMPILER_IS_HP 1
#elif defined(__DECCXX)
# undef ITK_COMPILER_IS_Compaq
# define ITK_COMPILER_IS_Compaq 1
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
# undef ITK_COMPILER_IS_zOS
# define ITK_COMPILER_IS_zOS 1
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
# undef ITK_COMPILER_IS_XL
# define ITK_COMPILER_IS_XL 1
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# undef ITK_COMPILER_IS_VisualAge
# define ITK_COMPILER_IS_VisualAge 1
#elif defined(__PGI)
# undef ITK_COMPILER_IS_PGI
# define ITK_COMPILER_IS_PGI 1
#elif defined(_CRAYC)
# undef ITK_COMPILER_IS_Cray
# define ITK_COMPILER_IS_Cray 1
#elif defined(__TI_COMPILER_VERSION__)
# undef ITK_COMPILER_IS_TI
# define ITK_COMPILER_IS_TI 1
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
# undef ITK_COMPILER_IS_Fujitsu
# define ITK_COMPILER_IS_Fujitsu 1
#elif defined(__SCO_VERSION__)
# undef ITK_COMPILER_IS_SCO
# define ITK_COMPILER_IS_SCO 1
#elif defined(__clang__) && defined(__apple_build_version__)
# undef ITK_COMPILER_IS_AppleClang
# define ITK_COMPILER_IS_AppleClang 1
#elif defined(__clang__)
# undef ITK_COMPILER_IS_Clang
# define ITK_COMPILER_IS_Clang 1
#elif defined(__GNUC__)
# undef ITK_COMPILER_IS_GNU
# define ITK_COMPILER_IS_GNU 1
#elif defined(_MSC_VER)
# undef ITK_COMPILER_IS_MSVC
# define ITK_COMPILER_IS_MSVC 1
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# undef ITK_COMPILER_IS_ADSP
# define ITK_COMPILER_IS_ADSP 1
#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
# undef ITK_COMPILER_IS_IAR
# define ITK_COMPILER_IS_IAR 1
#elif defined(__ARMCC_VERSION)
# undef ITK_COMPILER_IS_ARMCC
# define ITK_COMPILER_IS_ARMCC 1
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
# undef ITK_COMPILER_IS_MIPSpro
# define ITK_COMPILER_IS_MIPSpro 1
#endif
# if ITK_COMPILER_IS_AppleClang
# include "compilers/ITK_COMPILER_INFO_AppleClang_CXX.h"
# elif ITK_COMPILER_IS_Clang
# include "compilers/ITK_COMPILER_INFO_Clang_CXX.h"
# elif ITK_COMPILER_IS_GNU && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 404) //Default to UNKWOWN compiler if < 4.4
# include "compilers/ITK_COMPILER_INFO_GNU_CXX.h"
# elif ITK_COMPILER_IS_MSVC && (_MSC_VER >= 1600) //Default to UNKOWN compiler if < 1600
# include "compilers/ITK_COMPILER_INFO_MSVC_CXX.h"
# elif ITK_COMPILER_IS_SunPro
# include "compilers/ITK_COMPILER_INFO_SunPro_CXX.h"
# elif ITK_COMPILER_IS_Intel
# include "compilers/ITK_COMPILER_INFO_Intel_CXX.h"
# else
//NOTE: The follow 4 lines are not autogenerated with WriteCompilerDetectionHeader
// Do default behavior of all or nothing# error Unsupported compiler
// #warning "compiler not recognized, using all or nothing C++11 support guess"
# include "compilers/ITK_COMPILER_INFO_UNKNOWN_CXX.h"
# endif
# if ITK_COMPILER_CXX_ALIGNAS
# define ITK_ALIGNAS(X) alignas(X)
# elif ITK_COMPILER_IS_GNU || ITK_COMPILER_IS_Clang || ITK_COMPILER_IS_AppleClang
# define ITK_ALIGNAS(X) __attribute__ ((__aligned__(X)))
# elif ITK_COMPILER_IS_MSVC
# define ITK_ALIGNAS(X) __declspec(align(X))
# else
# define ITK_ALIGNAS(X)
# endif
# if ITK_COMPILER_CXX_ALIGNOF
# define ITK_ALIGNOF(X) alignof(X)
# elif ITK_COMPILER_IS_GNU || ITK_COMPILER_IS_Clang || ITK_COMPILER_IS_AppleClang
# define ITK_ALIGNOF(X) __alignof__(X)
# elif ITK_COMPILER_IS_MSVC
# define ITK_ALIGNOF(X) __alignof(X)
# endif
# ifndef ITK_DEPRECATED
# if ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED
# define ITK_DEPRECATED [[deprecated]]
# define ITK_DEPRECATED_MSG(MSG) [[deprecated(MSG)]]
# elif ITK_COMPILER_IS_GNU || ITK_COMPILER_IS_Clang
# define ITK_DEPRECATED __attribute__((__deprecated__))
# define ITK_DEPRECATED_MSG(MSG) __attribute__((__deprecated__(MSG)))
# elif ITK_COMPILER_IS_MSVC
# define ITK_DEPRECATED __declspec(deprecated)
# define ITK_DEPRECATED_MSG(MSG) __declspec(deprecated(MSG))
# else
# define ITK_DEPRECATED
# define ITK_DEPRECATED_MSG(MSG)
# endif
# endif
# if ITK_COMPILER_CXX_CONSTEXPR
# define ITK_CONSTEXPR constexpr
# else
# define ITK_CONSTEXPR
# endif
# if ITK_COMPILER_CXX_DELETED_FUNCTIONS
# define ITK_DELETED_FUNCTION = delete
# else
# define ITK_DELETED_FUNCTION
# endif
# if ITK_COMPILER_CXX_EXTERN_TEMPLATES
# define ITK_EXTERN_TEMPLATE extern
# else
# define ITK_EXTERN_TEMPLATE
# endif
# if ITK_COMPILER_CXX_FINAL
# define ITK_FINAL final
# else
# define ITK_FINAL
# endif
# if ITK_COMPILER_CXX_NOEXCEPT
# define ITK_NOEXCEPT noexcept
# define ITK_NOEXCEPT_EXPR(X) noexcept(X)
# else
# define ITK_NOEXCEPT
# define ITK_NOEXCEPT_EXPR(X)
# endif
# if ITK_COMPILER_CXX_NULLPTR
# define ITK_NULLPTR nullptr
# else
# define ITK_NULLPTR 0
# endif
# if ITK_COMPILER_CXX_OVERRIDE
# define ITK_OVERRIDE override
# else
# define ITK_OVERRIDE
# endif
# if ITK_COMPILER_CXX_STATIC_ASSERT
# define ITK_STATIC_ASSERT(X) static_assert(X, #X)
# define ITK_STATIC_ASSERT_MSG(X, MSG) static_assert(X, MSG)
# else
template<bool> struct ITKStaticAssert;
template<> struct ITKStaticAssert<true>{};
# define ITK_STATIC_ASSERT(X) sizeof(ITKStaticAssert<X>)
# define ITK_STATIC_ASSERT_MSG(X, MSG) sizeof(ITKStaticAssert<X>)
# endif
# if ITK_COMPILER_CXX_THREAD_LOCAL
# define ITK_THREAD_LOCAL thread_local
# elif ITK_COMPILER_IS_GNU || ITK_COMPILER_IS_Clang || ITK_COMPILER_IS_AppleClang
# define ITK_THREAD_LOCAL __thread
# elif ITK_COMPILER_IS_MSVC
# define ITK_THREAD_LOCAL __declspec(thread)
# else
// ITK_THREAD_LOCAL not defined for this configuration.
# endif
#endif
#endif // itk_compiler_detection_h
|