From bb0baab89da122e8c6832b218ddc8d8d1e6e3160 Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Sun, 10 Dec 2017 17:17:46 -0600 Subject: [PATCH] COMP: Directly use cmake compiler_detection.h With CMake 3.9.5 and greater the static backwards compatibly header files can be removed in favor of dynamically creating these header files from cmake using write_compiler_detection_header Change-Id: Ia74bed1c5047dba0621fad7b56fb2ad61812c7f8 --- ...teNewCompilerFeatureDetectionHeaders.cmake | 34 +- Modules/Core/Common/CMakeLists.txt | 19 +- .../ITK_COMPILER_INFO_AppleClang_CXX.h | 385 ----------------- .../compilers/ITK_COMPILER_INFO_Clang_CXX.h | 384 ----------------- .../compilers/ITK_COMPILER_INFO_GNU_CXX.h | 383 ----------------- .../compilers/ITK_COMPILER_INFO_Intel_CXX.h | 398 ------------------ .../compilers/ITK_COMPILER_INFO_MSVC_CXX.h | 379 ----------------- .../compilers/ITK_COMPILER_INFO_SunPro_CXX.h | 332 --------------- .../compilers/ITK_COMPILER_INFO_UNKNOWN_CXX.h | 152 ------- .../Common/include/itk_compiler_detection.h | 309 -------------- 10 files changed, 23 insertions(+), 2752 deletions(-) delete mode 100644 Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_AppleClang_CXX.h delete mode 100644 Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_Clang_CXX.h delete mode 100644 Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_GNU_CXX.h delete mode 100644 Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_Intel_CXX.h delete mode 100644 Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_MSVC_CXX.h delete mode 100644 Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_SunPro_CXX.h delete mode 100644 Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_UNKNOWN_CXX.h delete mode 100644 Modules/Core/Common/include/itk_compiler_detection.h diff --git a/Modules/Core/Common/CMake/itkGenerateNewCompilerFeatureDetectionHeaders.cmake b/Modules/Core/Common/CMake/itkGenerateNewCompilerFeatureDetectionHeaders.cmake index 9a822d610ac..704bc6759af 100644 --- a/Modules/Core/Common/CMake/itkGenerateNewCompilerFeatureDetectionHeaders.cmake +++ b/Modules/Core/Common/CMake/itkGenerateNewCompilerFeatureDetectionHeaders.cmake @@ -1,24 +1,11 @@ -if( ITK_MANUAL_GENERATE_NEW_COMPILER_DETECTION_HEADERS ) -# In order to provide backwards compatibility to pre-cmake 3.1.0 versions, -# the WriteCompilerDetectionHeader function should be run from a very -# recent version of cmake (i.e. 3.5.2) and the auto-generated files -# should be merged from the temporary build tree with the source -# code managed source tree. This should only be done VERY infrequently. -# -# SRCDIR=~/ITK -# BINDIR=~/ITK-bld -# -# merge files: ${CMAKE_CURRENT_BINARY_DIR}/TMP/itk_compiler_detection.h & ${SRCDIR}/Modules/Core/Common/include/itk_compiler_detection.h -# NOTE: ${SRCDIR}/Modules/Core/Common/include/itk_compiler_detection.h needs to include the custom UNKOWN compiler include stub -# merge files: ${CMAKE_CURRENT_BINARY_DIR}/TMP/compilers & ${SRCDIR}/Modules/Core/Common/include/compilers - ## Dynamically create compiler detection header - include(WriteCompilerDetectionHeader) - write_compiler_detection_header( - FILE "${CMAKE_CURRENT_BINARY_DIR}/TMP/itk_compiler_detection.h" +## Dynamically create compiler detection header +include(WriteCompilerDetectionHeader) +write_compiler_detection_header( + FILE "${CMAKE_CURRENT_BINARY_DIR}/itk_compiler_detection.h" PREFIX ITK - OUTPUT_FILES_VAR compiler_stub_headers - OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/TMP/compilers - COMPILERS AppleClang Clang GNU MSVC SunPro Intel #Supported compilers as of 3.5.2 + OUTPUT_FILES_VAR ITK_compiler_detection_support_headers + OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/compilers + COMPILERS ${CMAKE_CXX_COMPILER_ID} # AppleClang Clang GNU MSVC SunPro Intel #Supported compilers as of 3.5.2 VERSION ${CMAKE_VERSION} FEATURES cxx_aggregate_default_initializers # Aggregate default initializers, as defined in N3605. @@ -50,7 +37,7 @@ if( ITK_MANUAL_GENERATE_NEW_COMPILER_DETECTION_HEADERS ) cxx_generic_lambdas # Generic lambdas, as defined in N3649. cxx_inheriting_constructors # Inheriting constructors, as defined in N2540. cxx_inline_namespaces # Inline namespaces, as defined in N2535. - cxx_lambdas #Lambda functions, as defined in N2927. + cxx_lambdas # Lambda functions, as defined in N2927. cxx_lambda_init_captures # Initialized lambda captures, as defined in N3648. cxx_local_type_template_args # Local and unnamed types as template arguments, as defined in N2657. cxx_long_long_type # long long type, as defined in N1811. @@ -61,7 +48,7 @@ if( ITK_MANUAL_GENERATE_NEW_COMPILER_DETECTION_HEADERS ) cxx_range_for # Range-based for, as defined in N2930. cxx_raw_string_literals # Raw string literals, as defined in N2442. cxx_reference_qualified_functions # Reference qualified functions, as defined in N2439. - cxx_relaxed_constexpr #Relaxed constexpr, as defined in N3652. + cxx_relaxed_constexpr # Relaxed constexpr, as defined in N3652. cxx_return_type_deduction # Return type deduction on normal functions, as defined in N3386. cxx_right_angle_brackets # Right angle bracket parsing, as defined in N1757. cxx_rvalue_references # R-value references, as defined in N2118. @@ -78,5 +65,4 @@ if( ITK_MANUAL_GENERATE_NEW_COMPILER_DETECTION_HEADERS ) cxx_variadic_macros # Variadic macros, as defined in N1653. cxx_variadic_templates # Variadic templates, as defined in N2242. cxx_template_template_parameters # Template template parameters, as defined in ISO/IEC 14882:1998. - ) -endif() +) diff --git a/Modules/Core/Common/CMakeLists.txt b/Modules/Core/Common/CMakeLists.txt index b0ff8c3f3d9..e4edf2ed814 100644 --- a/Modules/Core/Common/CMakeLists.txt +++ b/Modules/Core/Common/CMakeLists.txt @@ -139,14 +139,21 @@ set(ITKCommon_LIBRARIES ITKCommon) itk_module_impl() -install(FILES - ${ITKCommon_BINARY_DIR}/itkConfigure.h - DESTINATION ${ITKCommon_INSTALL_INCLUDE_DIR} - COMPONENT Development - ) - # configure and install compiler feature header files # that have fine granular support of C++11 features # identified in a way consistent with CMake 3.1.0 and # greater include(CMake/itkGenerateNewCompilerFeatureDetectionHeaders.cmake) + +install(FILES + ${ITKCommon_BINARY_DIR}/itkConfigure.h + ${CMAKE_CURRENT_BINARY_DIR}/itk_compiler_detection.h + DESTINATION ${ITKCommon_INSTALL_INCLUDE_DIR} + COMPONENT Development +) + +install(FILES + ${ITK_compiler_detection_support_headers} + DESTINATION ${ITKCommon_INSTALL_INCLUDE_DIR}/compilers + COMPONENT Development +) diff --git a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_AppleClang_CXX.h b/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_AppleClang_CXX.h deleted file mode 100644 index 0ae931769b7..00000000000 --- a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_AppleClang_CXX.h +++ /dev/null @@ -1,385 +0,0 @@ -/*========================================================================= - * - * 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. - * - *=========================================================================*/ -#ifndef ITK_COMPILER_INFO_AppleClang_CXX_h -#define ITK_COMPILER_INFO_AppleClang_CXX_h -#ifndef itk_compiler_detection_h -# error This file may only be included from itk_compiler_detection.h -#endif - -# if !(((__clang_major__ * 100) + __clang_minor__) >= 400) -# error Unsupported compiler version -# endif - -# define ITK_COMPILER_VERSION_MAJOR ITK_DEC(__clang_major__) -# define ITK_COMPILER_VERSION_MINOR ITK_DEC(__clang_minor__) -# define ITK_COMPILER_VERSION_PATCH ITK_DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define ITK_SIMULATE_VERSION_MAJOR ITK_DEC(_MSC_VER / 100) -# define ITK_SIMULATE_VERSION_MINOR ITK_DEC(_MSC_VER % 100) -# endif -# define ITK_COMPILER_VERSION_TWEAK ITK_DEC(__apple_build_version__) - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_aggregate_nsdmi) -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_alias_templates) -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_alignas) -# define ITK_COMPILER_CXX_ALIGNAS 1 -# else -# define ITK_COMPILER_CXX_ALIGNAS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_alignas) -# define ITK_COMPILER_CXX_ALIGNOF 1 -# else -# define ITK_COMPILER_CXX_ALIGNOF 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_attributes) -# define ITK_COMPILER_CXX_ATTRIBUTES 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_auto_type) -# define ITK_COMPILER_CXX_AUTO_TYPE 1 -# else -# define ITK_COMPILER_CXX_AUTO_TYPE 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_binary_literals) -# define ITK_COMPILER_CXX_BINARY_LITERALS 1 -# else -# define ITK_COMPILER_CXX_BINARY_LITERALS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_constexpr) -# define ITK_COMPILER_CXX_CONSTEXPR 1 -# else -# define ITK_COMPILER_CXX_CONSTEXPR 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_contextual_conversions) -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_decltype_incomplete_return_types) -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_decltype) -# define ITK_COMPILER_CXX_DECLTYPE 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_default_function_template_args) -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_defaulted_functions) -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_defaulted_functions) -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_delegating_constructors) -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_deleted_functions) -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 1 -# else -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_explicit_conversions) -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_override_control) -# define ITK_COMPILER_CXX_FINAL 1 -# else -# define ITK_COMPILER_CXX_FINAL 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 1 -# else -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_generalized_initializers) -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_inheriting_constructors) -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 1 -# else -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_lambdas) -# define ITK_COMPILER_CXX_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_LAMBDAS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_init_captures) -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 1 -# else -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_local_type_template_args) -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 1 -# else -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_noexcept) -# define ITK_COMPILER_CXX_NOEXCEPT 1 -# else -# define ITK_COMPILER_CXX_NOEXCEPT 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_nonstatic_member_init) -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 1 -# else -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_nullptr) -# define ITK_COMPILER_CXX_NULLPTR 1 -# else -# define ITK_COMPILER_CXX_NULLPTR 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_override_control) -# define ITK_COMPILER_CXX_OVERRIDE 1 -# else -# define ITK_COMPILER_CXX_OVERRIDE 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_range_for) -# define ITK_COMPILER_CXX_RANGE_FOR 1 -# else -# define ITK_COMPILER_CXX_RANGE_FOR 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_raw_string_literals) -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 1 -# else -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_reference_qualified_functions) -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_relaxed_constexpr) -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 1 -# else -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_return_type_deduction) -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 1 -# else -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 1 -# else -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_rvalue_references) -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 1 -# else -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 1 -# else -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_static_assert) -# define ITK_COMPILER_CXX_STATIC_ASSERT 1 -# else -# define ITK_COMPILER_CXX_STATIC_ASSERT 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_strong_enums) -# define ITK_COMPILER_CXX_STRONG_ENUMS 1 -# else -# define ITK_COMPILER_CXX_STRONG_ENUMS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_thread_local) -# define ITK_COMPILER_CXX_THREAD_LOCAL 1 -# else -# define ITK_COMPILER_CXX_THREAD_LOCAL 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_trailing_return) -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 1 -# else -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_unicode_literals) -# define ITK_COMPILER_CXX_UNICODE_LITERALS 1 -# else -# define ITK_COMPILER_CXX_UNICODE_LITERALS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_generalized_initializers) -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 1 -# else -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_unrestricted_unions) -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 1 -# else -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_user_literals) -# define ITK_COMPILER_CXX_USER_LITERALS 1 -# else -# define ITK_COMPILER_CXX_USER_LITERALS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_variable_templates) -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_VARIADIC_MACROS 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_MACROS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_variadic_templates) -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 199711L -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 1 -# else -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_atomic) -# define ITK_COMPILER_CXX_ATOMIC 1 -# else -# define ITK_COMPILER_CXX_ATOMIC 0 -# endif -#endif //ITK_COMPILER_INFO_AppleClang_CXX_h diff --git a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_Clang_CXX.h b/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_Clang_CXX.h deleted file mode 100644 index c94a86255be..00000000000 --- a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_Clang_CXX.h +++ /dev/null @@ -1,384 +0,0 @@ -/*========================================================================= - * - * 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. - * - *=========================================================================*/ -#ifndef ITK_COMPILER_INFO_Clang_CXX_h -#define ITK_COMPILER_INFO_Clang_CXX_h -#ifndef itk_compiler_detection_h -# error This file may only be included from itk_compiler_detection.h -#endif - -# if !(((__clang_major__ * 100) + __clang_minor__) >= 300) -# error Unsupported compiler version -# endif - -# define ITK_COMPILER_VERSION_MAJOR ITK_DEC(__clang_major__) -# define ITK_COMPILER_VERSION_MINOR ITK_DEC(__clang_minor__) -# define ITK_COMPILER_VERSION_PATCH ITK_DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define ITK_SIMULATE_VERSION_MAJOR ITK_DEC(_MSC_VER / 100) -# define ITK_SIMULATE_VERSION_MINOR ITK_DEC(_MSC_VER % 100) -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_aggregate_nsdmi) -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_alias_templates) -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_alignas) -# define ITK_COMPILER_CXX_ALIGNAS 1 -# else -# define ITK_COMPILER_CXX_ALIGNAS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_alignas) -# define ITK_COMPILER_CXX_ALIGNOF 1 -# else -# define ITK_COMPILER_CXX_ALIGNOF 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_attributes) -# define ITK_COMPILER_CXX_ATTRIBUTES 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_auto_type) -# define ITK_COMPILER_CXX_AUTO_TYPE 1 -# else -# define ITK_COMPILER_CXX_AUTO_TYPE 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_binary_literals) -# define ITK_COMPILER_CXX_BINARY_LITERALS 1 -# else -# define ITK_COMPILER_CXX_BINARY_LITERALS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_constexpr) -# define ITK_COMPILER_CXX_CONSTEXPR 1 -# else -# define ITK_COMPILER_CXX_CONSTEXPR 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_contextual_conversions) -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_decltype_incomplete_return_types) -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_decltype) -# define ITK_COMPILER_CXX_DECLTYPE 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_default_function_template_args) -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_defaulted_functions) -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_defaulted_functions) -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_delegating_constructors) -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_deleted_functions) -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 1 -# else -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_explicit_conversions) -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_override_control) -# define ITK_COMPILER_CXX_FINAL 1 -# else -# define ITK_COMPILER_CXX_FINAL 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 1 -# else -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_generalized_initializers) -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_inheriting_constructors) -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 1 -# else -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_lambdas) -# define ITK_COMPILER_CXX_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_LAMBDAS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_init_captures) -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 1 -# else -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_local_type_template_args) -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 1 -# else -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_noexcept) -# define ITK_COMPILER_CXX_NOEXCEPT 1 -# else -# define ITK_COMPILER_CXX_NOEXCEPT 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_nonstatic_member_init) -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 1 -# else -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_nullptr) -# define ITK_COMPILER_CXX_NULLPTR 1 -# else -# define ITK_COMPILER_CXX_NULLPTR 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_override_control) -# define ITK_COMPILER_CXX_OVERRIDE 1 -# else -# define ITK_COMPILER_CXX_OVERRIDE 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_range_for) -# define ITK_COMPILER_CXX_RANGE_FOR 1 -# else -# define ITK_COMPILER_CXX_RANGE_FOR 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_raw_string_literals) -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 1 -# else -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_reference_qualified_functions) -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_relaxed_constexpr) -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 1 -# else -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_return_type_deduction) -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 1 -# else -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 1 -# else -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_rvalue_references) -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 1 -# else -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 1 -# else -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_static_assert) -# define ITK_COMPILER_CXX_STATIC_ASSERT 1 -# else -# define ITK_COMPILER_CXX_STATIC_ASSERT 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_strong_enums) -# define ITK_COMPILER_CXX_STRONG_ENUMS 1 -# else -# define ITK_COMPILER_CXX_STRONG_ENUMS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_thread_local) -# define ITK_COMPILER_CXX_THREAD_LOCAL 1 -# else -# define ITK_COMPILER_CXX_THREAD_LOCAL 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_trailing_return) -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 1 -# else -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_unicode_literals) -# define ITK_COMPILER_CXX_UNICODE_LITERALS 1 -# else -# define ITK_COMPILER_CXX_UNICODE_LITERALS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_generalized_initializers) -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 1 -# else -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_unrestricted_unions) -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 1 -# else -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_user_literals) -# define ITK_COMPILER_CXX_USER_LITERALS 1 -# else -# define ITK_COMPILER_CXX_USER_LITERALS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_variable_templates) -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_VARIADIC_MACROS 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_MACROS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __has_feature(cxx_variadic_templates) -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus >= 199711L -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 1 -# else -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 0 -# endif - -# if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_atomic) -# define ITK_COMPILER_CXX_ATOMIC 1 -# else -# define ITK_COMPILER_CXX_ATOMIC 0 -# endif -#endif // ITK_COMPILER_INFO_Clang_CXX_h diff --git a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_GNU_CXX.h b/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_GNU_CXX.h deleted file mode 100644 index db1cc05938a..00000000000 --- a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_GNU_CXX.h +++ /dev/null @@ -1,383 +0,0 @@ -/*========================================================================= - * - * 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. - * - *=========================================================================*/ -#ifndef ITK_COMPILER_INFO_GNU_CXX_h -#define ITK_COMPILER_INFO_GNU_CXX_h -#ifndef itk_compiler_detection_h -# error This file may only be included from itk_compiler_detection.h -#endif - -# if !((__GNUC__ * 100 + __GNUC_MINOR__) >= 404) -# error Unsupported compiler version -# endif - -# define ITK_COMPILER_VERSION_MAJOR ITK_DEC(__GNUC__) -# if defined(__GNUC_MINOR__) -# define ITK_COMPILER_VERSION_MINOR ITK_DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define ITK_COMPILER_VERSION_PATCH ITK_DEC(__GNUC_PATCHLEVEL__) -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ALIGNAS 1 -# else -# define ITK_COMPILER_CXX_ALIGNAS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ALIGNOF 1 -# else -# define ITK_COMPILER_CXX_ALIGNOF 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ATTRIBUTES 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTES 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_AUTO_TYPE 1 -# else -# define ITK_COMPILER_CXX_AUTO_TYPE 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_BINARY_LITERALS 1 -# else -# define ITK_COMPILER_CXX_BINARY_LITERALS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_CONSTEXPR 1 -# else -# define ITK_COMPILER_CXX_CONSTEXPR 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 0 -# endif - -# if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DECLTYPE 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 1 -# else -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_FINAL 1 -# else -# define ITK_COMPILER_CXX_FINAL 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 1 -# else -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 1 -# else -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_LAMBDAS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 1 -# else -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 1 -# else -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_NOEXCEPT 1 -# else -# define ITK_COMPILER_CXX_NOEXCEPT 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 1 -# else -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_NULLPTR 1 -# else -# define ITK_COMPILER_CXX_NULLPTR 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_OVERRIDE 1 -# else -# define ITK_COMPILER_CXX_OVERRIDE 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_RANGE_FOR 1 -# else -# define ITK_COMPILER_CXX_RANGE_FOR 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 1 -# else -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 0 -# endif - -# if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 1 -# else -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 1 -# else -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 1 -# else -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 1 -# else -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 1 -# else -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_STATIC_ASSERT 1 -# else -# define ITK_COMPILER_CXX_STATIC_ASSERT 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_STRONG_ENUMS 1 -# else -# define ITK_COMPILER_CXX_STRONG_ENUMS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_THREAD_LOCAL 1 -# else -# define ITK_COMPILER_CXX_THREAD_LOCAL 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 1 -# else -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_UNICODE_LITERALS 1 -# else -# define ITK_COMPILER_CXX_UNICODE_LITERALS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 1 -# else -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 1 -# else -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_USER_LITERALS 1 -# else -# define ITK_COMPILER_CXX_USER_LITERALS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_VARIADIC_MACROS 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_MACROS 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 0 -# endif - -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 1 -# else -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 0 -# endif - -# if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 404 && __cplusplus > 201103L -# define ITK_COMPILER_CXX_ATOMIC 1 -# else -# define ITK_COMPILER_CXX_ATOMIC 0 -# endif -#endif // ITK_COMPILER_INFO_GNU_CXX_h diff --git a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_Intel_CXX.h b/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_Intel_CXX.h deleted file mode 100644 index 7eeb582da04..00000000000 --- a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_Intel_CXX.h +++ /dev/null @@ -1,398 +0,0 @@ -/*========================================================================= - * - * 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. - * - *=========================================================================*/ -#ifndef ITK_COMPILER_INFO_Intel_CXX_h -#define ITK_COMPILER_INFO_Intel_CXX_h -#ifndef itk_compiler_detection_h -# error This file may only be included from itk_compiler_detection.h -#endif - -# if !(__INTEL_COMPILER >= 1210) -# error Unsupported compiler version -# endif - - /* __INTEL_COMPILER = VRP */ -# define ITK_COMPILER_VERSION_MAJOR ITK_DEC(__INTEL_COMPILER/100) -# define ITK_COMPILER_VERSION_MINOR ITK_DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define ITK_COMPILER_VERSION_PATCH ITK_DEC(__INTEL_COMPILER_UPDATE) -# else -# define ITK_COMPILER_VERSION_PATCH ITK_DEC(__INTEL_COMPILER % 10) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define ITK_COMPILER_VERSION_TWEAK ITK_DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define ITK_SIMULATE_VERSION_MAJOR ITK_DEC(_MSC_VER / 100) -# define ITK_SIMULATE_VERSION_MINOR ITK_DEC(_MSC_VER % 100) -# endif - -# if __INTEL_COMPILER >= 1600 && ((__cplusplus >= 201300L) || ((__cplusplus == 201103L) && !defined(__INTEL_CXX11_MODE__)) \ - || ((((__INTEL_COMPILER == 1500) && (__INTEL_COMPILER_UPDATE == 1))) && defined(__GXX_EXPERIMENTAL_CXX0X__)\ - && !defined(__INTEL_CXX11_MODE__) ) ) -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 0 -# endif - -# if __INTEL_COMPILER >= 1500 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_ALIGNAS 1 -# else -# define ITK_COMPILER_CXX_ALIGNAS 0 -# endif - -# if __INTEL_COMPILER >= 1500 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_ALIGNOF 1 -# else -# define ITK_COMPILER_CXX_ALIGNOF 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_ATTRIBUTES 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTES 0 -# endif - -# if __INTEL_COMPILER >= 1500 && ((__cplusplus >= 201300L) || ((__cplusplus == 201103L) && !defined(__INTEL_CXX11_MODE__)) \ - || ((((__INTEL_COMPILER == 1500) && (__INTEL_COMPILER_UPDATE == 1))) && defined(__GXX_EXPERIMENTAL_CXX0X__) \ - && !defined(__INTEL_CXX11_MODE__) ) ) -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_AUTO_TYPE 1 -# else -# define ITK_COMPILER_CXX_AUTO_TYPE 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_BINARY_LITERALS 1 -# else -# define ITK_COMPILER_CXX_BINARY_LITERALS 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_CONSTEXPR 1 -# else -# define ITK_COMPILER_CXX_CONSTEXPR 0 -# endif - -# if __INTEL_COMPILER >= 1600 && ((__cplusplus >= 201300L) || ((__cplusplus == 201103L) && !defined(__INTEL_CXX11_MODE__)) \ - || ((((__INTEL_COMPILER == 1500) && (__INTEL_COMPILER_UPDATE == 1))) && defined(__GXX_EXPERIMENTAL_CXX0X__) \ - && !defined(__INTEL_CXX11_MODE__) ) ) -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 0 -# endif - -# if ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) \ - && (__INTEL_COMPILER > 1400 || (__INTEL_COMPILER == 1400 && __INTEL_COMPILER_UPDATE >= 2)) -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DECLTYPE 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE 0 -# endif - -# if __INTEL_COMPILER >= 1500 && ((__cplusplus >= 201300L) || ((__cplusplus == 201103L) && !defined(__INTEL_CXX11_MODE__)) \ - || ((((__INTEL_COMPILER == 1500) && (__INTEL_COMPILER_UPDATE == 1))) && defined(__GXX_EXPERIMENTAL_CXX0X__) \ - && !defined(__INTEL_CXX11_MODE__) ) ) -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 0 -# endif - -# if __INTEL_COMPILER >= 1600 && ((__cplusplus >= 201300L) || ((__cplusplus == 201103L) && !defined(__INTEL_CXX11_MODE__)) \ - || ((((__INTEL_COMPILER == 1500) && (__INTEL_COMPILER_UPDATE == 1))) && defined(__GXX_EXPERIMENTAL_CXX0X__) \ - && !defined(__INTEL_CXX11_MODE__) ) ) -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 1 -# else -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 0 -# endif - -# if __INTEL_COMPILER >= 1300 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_FINAL 1 -# else -# define ITK_COMPILER_CXX_FINAL 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 1 -# else -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 0 -# endif - -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 0 - -# if __INTEL_COMPILER >= 1600 && ((__cplusplus >= 201300L) || ((__cplusplus == 201103L) && !defined(__INTEL_CXX11_MODE__)) \ - || ((((__INTEL_COMPILER == 1500) && (__INTEL_COMPILER_UPDATE == 1))) && defined(__GXX_EXPERIMENTAL_CXX0X__) \ - && !defined(__INTEL_CXX11_MODE__) ) ) -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 0 -# endif - -# if __INTEL_COMPILER >= 1500 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 1 -# else -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_LAMBDAS 0 -# endif - -# if __INTEL_COMPILER >= 1500 && ((__cplusplus >= 201300L) || ((__cplusplus == 201103L) && !defined(__INTEL_CXX11_MODE__)) \ - || ((((__INTEL_COMPILER == 1500) && (__INTEL_COMPILER_UPDATE == 1))) && defined(__GXX_EXPERIMENTAL_CXX0X__) \ - && !defined(__INTEL_CXX11_MODE__) ) ) -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 1 -# else -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 1 -# else -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_NOEXCEPT 1 -# else -# define ITK_COMPILER_CXX_NOEXCEPT 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 1 -# else -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_NULLPTR 1 -# else -# define ITK_COMPILER_CXX_NULLPTR 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_OVERRIDE 1 -# else -# define ITK_COMPILER_CXX_OVERRIDE 0 -# endif - -# if __INTEL_COMPILER >= 1300 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_RANGE_FOR 1 -# else -# define ITK_COMPILER_CXX_RANGE_FOR 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 1 -# else -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 0 -# endif - -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 0 - -# if __INTEL_COMPILER >= 1500 && ((__cplusplus >= 201300L) || ((__cplusplus == 201103L) && !defined(__INTEL_CXX11_MODE__)) \ - || ((((__INTEL_COMPILER == 1500) && (__INTEL_COMPILER_UPDATE == 1))) && defined(__GXX_EXPERIMENTAL_CXX0X__) \ - && !defined(__INTEL_CXX11_MODE__) ) ) -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 1 -# else -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 1 -# else -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 1 -# else -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 1 -# else -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_STATIC_ASSERT 1 -# else -# define ITK_COMPILER_CXX_STATIC_ASSERT 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_STRONG_ENUMS 1 -# else -# define ITK_COMPILER_CXX_STRONG_ENUMS 0 -# endif - -# if __INTEL_COMPILER >= 1500 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_THREAD_LOCAL 1 -# else -# define ITK_COMPILER_CXX_THREAD_LOCAL 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 1 -# else -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_UNICODE_LITERALS 1 -# else -# define ITK_COMPILER_CXX_UNICODE_LITERALS 0 -# endif - -# if __INTEL_COMPILER >= 1300 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 1 -# else -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 0 -# endif - -# if __INTEL_COMPILER >= 1400 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 1 -# else -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 0 -# endif - -# if __INTEL_COMPILER >= 1500 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_USER_LITERALS 1 -# else -# define ITK_COMPILER_CXX_USER_LITERALS 0 -# endif - -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 0 - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_VARIADIC_MACROS 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_MACROS 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 0 -# endif - -# if __INTEL_COMPILER >= 1210 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 1 -# else -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 0 -# endif - -# if __INTEL_COMPILER >= 1300 && ((__cplusplus >= 201103L) || defined(__INTEL_CXX11_MODE__) || defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define ITK_COMPILER_CXX_ATOMIC 1 -# else -# define ITK_COMPILER_CXX_ATOMIC 0 -# endif -#endif // ITK_COMPILER_INFO_Intel_CXX_h diff --git a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_MSVC_CXX.h b/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_MSVC_CXX.h deleted file mode 100644 index abbbec685c9..00000000000 --- a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_MSVC_CXX.h +++ /dev/null @@ -1,379 +0,0 @@ -/*========================================================================= - * - * 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. - * - *=========================================================================*/ -#ifndef ITK_COMPILER_INFO_MSVC_CXX_h -#define ITK_COMPILER_INFO_MSVC_CXX_h -#ifndef itk_compiler_detection_h -# error This file may only be included from itk_compiler_detection.h -#endif - -# if !(_MSC_VER >= 1600) -# error Unsupported compiler version -# endif - - /* _MSC_VER = VVRR */ -# define ITK_COMPILER_VERSION_MAJOR ITK_DEC(_MSC_VER / 100) -# define ITK_COMPILER_VERSION_MINOR ITK_DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define ITK_COMPILER_VERSION_PATCH ITK_DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define ITK_COMPILER_VERSION_PATCH ITK_DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define ITK_COMPILER_VERSION_TWEAK ITK_DEC(_MSC_BUILD) -# endif - -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 0 - -# if _MSC_VER >= 1800 -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_ALIGNAS 1 -# else -# define ITK_COMPILER_CXX_ALIGNAS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_ALIGNOF 1 -# else -# define ITK_COMPILER_CXX_ALIGNOF 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_ATTRIBUTES 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTES 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_AUTO_TYPE 1 -# else -# define ITK_COMPILER_CXX_AUTO_TYPE 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_BINARY_LITERALS 1 -# else -# define ITK_COMPILER_CXX_BINARY_LITERALS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_CONSTEXPR 1 -# else -# define ITK_COMPILER_CXX_CONSTEXPR 0 -# endif - -# if _MSC_VER >= 1800 -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 0 -# endif - -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 0 - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_DECLTYPE 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 0 -# endif - -# if _MSC_VER >= 1800 -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 0 -# endif - -# if _MSC_VER >= 1800 -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 0 -# endif - -# if _MSC_VER >= 1800 -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 1 -# else -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 0 -# endif - -# if _MSC_VER >= 1700 -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 0 -# endif - -# if _MSC_VER >= 1800 -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 0 -# endif - -# if _MSC_VER >= 1700 -# define ITK_COMPILER_CXX_FINAL 1 -# else -# define ITK_COMPILER_CXX_FINAL 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 1 -# else -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 0 -# endif - -# if _MSC_FULL_VER >= 180030723 -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 1 -# else -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_LAMBDAS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 1 -# else -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 1 -# else -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_NOEXCEPT 1 -# else -# define ITK_COMPILER_CXX_NOEXCEPT 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 1 -# else -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_NULLPTR 1 -# else -# define ITK_COMPILER_CXX_NULLPTR 0 -# endif - -# if _MSC_VER >= 1700 -# define ITK_COMPILER_CXX_OVERRIDE 1 -# else -# define ITK_COMPILER_CXX_OVERRIDE 0 -# endif - -# if _MSC_VER >= 1700 -# define ITK_COMPILER_CXX_RANGE_FOR 1 -# else -# define ITK_COMPILER_CXX_RANGE_FOR 0 -# endif - -# if _MSC_VER >= 1800 -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 1 -# else -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 0 -# endif - -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 0 - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 1 -# else -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 1 -# else -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 1 -# else -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 1 -# else -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_STATIC_ASSERT 1 -# else -# define ITK_COMPILER_CXX_STATIC_ASSERT 0 -# endif - -# if _MSC_VER >= 1700 -# define ITK_COMPILER_CXX_STRONG_ENUMS 1 -# else -# define ITK_COMPILER_CXX_STRONG_ENUMS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_THREAD_LOCAL 1 -# else -# define ITK_COMPILER_CXX_THREAD_LOCAL 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 1 -# else -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_UNICODE_LITERALS 1 -# else -# define ITK_COMPILER_CXX_UNICODE_LITERALS 0 -# endif - -# if _MSC_VER >= 1800 -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 1 -# else -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 1 -# else -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 0 -# endif - -# if _MSC_VER >= 1900 -# define ITK_COMPILER_CXX_USER_LITERALS 1 -# else -# define ITK_COMPILER_CXX_USER_LITERALS 0 -# endif - -# if _MSC_FULL_VER >= 190023918 -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_VARIADIC_MACROS 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_MACROS 0 -# endif - -# if _MSC_VER >= 1800 -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 0 -# endif - -# if _MSC_VER >= 1600 -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 1 -# else -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 0 -# endif - -# if _MSC_VER >= 1700 -# define ITK_COMPILER_CXX_ATOMIC 1 -# else -# define ITK_COMPILER_CXX_ATOMIC 0 -# endif -#endif // ITK_COMPILER_INFO_MSVC_CXX_h diff --git a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_SunPro_CXX.h b/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_SunPro_CXX.h deleted file mode 100644 index 044bdc17658..00000000000 --- a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_SunPro_CXX.h +++ /dev/null @@ -1,332 +0,0 @@ -/*========================================================================= - * - * 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. - * - *=========================================================================*/ -#ifndef ITK_COMPILER_INFO_SunPro_CXX_h -#define ITK_COMPILER_INFO_SunPro_CXX_h -#ifndef itk_compiler_detection_h -# error This file may only be included from itk_compiler_detection.h -#endif - -# if !(__SUNPRO_CC >= 0x5130) -# error Unsupported compiler version -# endif - -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define ITK_COMPILER_VERSION_MAJOR ITK_HEX(__SUNPRO_CC>>12) -# define ITK_COMPILER_VERSION_MINOR ITK_HEX(__SUNPRO_CC>>4 & 0xFF) -# define ITK_COMPILER_VERSION_PATCH ITK_HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define ITK_COMPILER_VERSION_MAJOR ITK_HEX(__SUNPRO_CC>>8) -# define ITK_COMPILER_VERSION_MINOR ITK_HEX(__SUNPRO_CC>>4 & 0xF) -# define ITK_COMPILER_VERSION_PATCH ITK_HEX(__SUNPRO_CC & 0xF) -# endif - -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 0 - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ALIGNAS 1 -# else -# define ITK_COMPILER_CXX_ALIGNAS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ALIGNOF 1 -# else -# define ITK_COMPILER_CXX_ALIGNOF 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ATTRIBUTES 1 -# else -# define ITK_COMPILER_CXX_ATTRIBUTES 0 -# endif - -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 0 - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_AUTO_TYPE 1 -# else -# define ITK_COMPILER_CXX_AUTO_TYPE 0 -# endif - -# define ITK_COMPILER_CXX_BINARY_LITERALS 0 - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_CONSTEXPR 1 -# else -# define ITK_COMPILER_CXX_CONSTEXPR 0 -# endif - -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 0 - -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 0 - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_DECLTYPE 1 -# else -# define ITK_COMPILER_CXX_DECLTYPE 0 -# endif - -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 0 - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 1 -# else -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 0 -# endif - -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 0 - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 1 -# else -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 1 -# else -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_FINAL 1 -# else -# define ITK_COMPILER_CXX_FINAL 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 1 -# else -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 1 -# else -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 0 -# endif - -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 0 - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 1 -# else -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 1 -# else -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_LAMBDAS 1 -# else -# define ITK_COMPILER_CXX_LAMBDAS 0 -# endif - -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 0 - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 1 -# else -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 1 -# else -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_NOEXCEPT 1 -# else -# define ITK_COMPILER_CXX_NOEXCEPT 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 1 -# else -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_NULLPTR 1 -# else -# define ITK_COMPILER_CXX_NULLPTR 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_OVERRIDE 1 -# else -# define ITK_COMPILER_CXX_OVERRIDE 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_RANGE_FOR 1 -# else -# define ITK_COMPILER_CXX_RANGE_FOR 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 1 -# else -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 0 -# endif - -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 0 - -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 0 - -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 0 - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 1 -# else -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 1 -# else -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 1 -# else -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_STATIC_ASSERT 1 -# else -# define ITK_COMPILER_CXX_STATIC_ASSERT 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_STRONG_ENUMS 1 -# else -# define ITK_COMPILER_CXX_STRONG_ENUMS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_THREAD_LOCAL 1 -# else -# define ITK_COMPILER_CXX_THREAD_LOCAL 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 1 -# else -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_UNICODE_LITERALS 1 -# else -# define ITK_COMPILER_CXX_UNICODE_LITERALS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 1 -# else -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 1 -# else -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 0 -# endif - -# define ITK_COMPILER_CXX_USER_LITERALS 0 - -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 0 - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_VARIADIC_MACROS 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_MACROS 0 -# endif - -# if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 1 -# else -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 0 -# endif - -# if __SUNPRO_CC >= 0x5130 && __cplusplus -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 1 -# else -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 0 -# endif - -# if (__SUNPRO_CC >= 0x5140) && __cplusplus >= 201103L -# define ITK_COMPILER_CXX_ATOMIC 1 -# else -# define ITK_COMPILER_CXX_ATOMIC 0 -# endif - -#endif //ITK_COMPILER_INFO_SunPro_CXX_h diff --git a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_UNKNOWN_CXX.h b/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_UNKNOWN_CXX.h deleted file mode 100644 index b4ffd518216..00000000000 --- a/Modules/Core/Common/include/compilers/ITK_COMPILER_INFO_UNKNOWN_CXX.h +++ /dev/null @@ -1,152 +0,0 @@ -/*========================================================================= - * - * 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. - * - *=========================================================================*/ -#ifndef ITK_COMPILER_INFO_UNKNOWN_CXX_h -#define ITK_COMPILER_INFO_UNKNOWN_CXX_h -#ifndef itk_compiler_detection_h -# error This file may only be included from itk_compiler_detection.h -#endif - -#define ITK_COMPILER_VERSION_MAJOR 0 -#define ITK_COMPILER_VERSION_MINOR 0 -#define ITK_COMPILER_VERSION_PATCH 0 - -// For unknown compilers, assume all or non C++11 support -// based solely on the value of __cplusplus - -#if __cplusplus >= 201103L -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 1 -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 1 -# define ITK_COMPILER_CXX_ALIGNAS 1 -# define ITK_COMPILER_CXX_ALIGNOF 1 -# define ITK_COMPILER_CXX_ATTRIBUTES 1 -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 1 -# define ITK_COMPILER_CXX_AUTO_TYPE 1 -# define ITK_COMPILER_CXX_BINARY_LITERALS 1 -# define ITK_COMPILER_CXX_CONSTEXPR 1 -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 1 -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 1 -# define ITK_COMPILER_CXX_DECLTYPE 1 -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 1 -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 1 -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 1 -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 1 -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 1 -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 1 -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 1 -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 1 -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 1 -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 1 -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 1 -# define ITK_COMPILER_CXX_FINAL 1 -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 1 -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 1 -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 1 -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 1 -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 1 -# define ITK_COMPILER_CXX_LAMBDAS 1 -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 1 -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 1 -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 1 -# define ITK_COMPILER_CXX_NOEXCEPT 1 -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 1 -# define ITK_COMPILER_CXX_NULLPTR 1 -# define ITK_COMPILER_CXX_OVERRIDE 1 -# define ITK_COMPILER_CXX_RANGE_FOR 1 -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 1 -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 1 -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 1 -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 1 -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 1 -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 1 -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 1 -# define ITK_COMPILER_CXX_STATIC_ASSERT 1 -# define ITK_COMPILER_CXX_STRONG_ENUMS 1 -# define ITK_COMPILER_CXX_THREAD_LOCAL 1 -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 1 -# define ITK_COMPILER_CXX_UNICODE_LITERALS 1 -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 1 -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 1 -# define ITK_COMPILER_CXX_USER_LITERALS 1 -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 1 -# define ITK_COMPILER_CXX_VARIADIC_MACROS 1 -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 1 -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 1 -# define ITK_COMPILER_CXX_ATOMIC 1 - -#else -// No C++11 support -# define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 0 -# define ITK_COMPILER_CXX_ALIAS_TEMPLATES 0 -# define ITK_COMPILER_CXX_ALIGNAS 0 -# define ITK_COMPILER_CXX_ALIGNOF 0 -# define ITK_COMPILER_CXX_ATTRIBUTES 0 -# define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 0 -# define ITK_COMPILER_CXX_AUTO_TYPE 0 -# define ITK_COMPILER_CXX_BINARY_LITERALS 0 -# define ITK_COMPILER_CXX_CONSTEXPR 0 -# define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 0 -# define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 0 -# define ITK_COMPILER_CXX_DECLTYPE 0 -# define ITK_COMPILER_CXX_DECLTYPE_AUTO 0 -# define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 0 -# define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 0 -# define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 0 -# define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 0 -# define ITK_COMPILER_CXX_DELETED_FUNCTIONS 0 -# define ITK_COMPILER_CXX_DIGIT_SEPARATORS 0 -# define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 0 -# define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 0 -# define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 0 -# define ITK_COMPILER_CXX_EXTERN_TEMPLATES 0 -# define ITK_COMPILER_CXX_FINAL 0 -# define ITK_COMPILER_CXX_FUNC_IDENTIFIER 0 -# define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 0 -# define ITK_COMPILER_CXX_GENERIC_LAMBDAS 0 -# define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 0 -# define ITK_COMPILER_CXX_INLINE_NAMESPACES 0 -# define ITK_COMPILER_CXX_LAMBDAS 0 -# define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 0 -# define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 0 -# define ITK_COMPILER_CXX_LONG_LONG_TYPE 0 -# define ITK_COMPILER_CXX_NOEXCEPT 0 -# define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 0 -# define ITK_COMPILER_CXX_NULLPTR 0 -# define ITK_COMPILER_CXX_OVERRIDE 0 -# define ITK_COMPILER_CXX_RANGE_FOR 0 -# define ITK_COMPILER_CXX_RAW_STRING_LITERALS 0 -# define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 0 -# define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 0 -# define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 0 -# define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 0 -# define ITK_COMPILER_CXX_RVALUE_REFERENCES 0 -# define ITK_COMPILER_CXX_SIZEOF_MEMBER 0 -# define ITK_COMPILER_CXX_STATIC_ASSERT 0 -# define ITK_COMPILER_CXX_STRONG_ENUMS 0 -# define ITK_COMPILER_CXX_THREAD_LOCAL 0 -# define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 0 -# define ITK_COMPILER_CXX_UNICODE_LITERALS 0 -# define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 0 -# define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 0 -# define ITK_COMPILER_CXX_USER_LITERALS 0 -# define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 0 -# define ITK_COMPILER_CXX_VARIADIC_MACROS 0 -# define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 0 -# define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 0 -# define ITK_COMPILER_CXX_ATOMIC 0 -#endif -#endif //ITK_COMPILER_INFO_UNKNOWN_CXX_h diff --git a/Modules/Core/Common/include/itk_compiler_detection.h b/Modules/Core/Common/include/itk_compiler_detection.h deleted file mode 100644 index 8fb60090a65..00000000000 --- a/Modules/Core/Common/include/itk_compiler_detection.h +++ /dev/null @@ -1,309 +0,0 @@ -/*========================================================================= - * - * 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 -# else -# define ITK_NOEXCEPT throw() -# 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 struct ITKStaticAssert; -template<> struct ITKStaticAssert{}; -# define ITK_STATIC_ASSERT(X) sizeof(ITKStaticAssert) -# define ITK_STATIC_ASSERT_MSG(X, MSG) sizeof(ITKStaticAssert) -# 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