diff options
author | Brad King <brad.king@kitware.com> | 2022-02-04 13:20:15 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-02-04 13:20:23 (GMT) |
commit | 0d0831e481df6cc5c9e26864ed35c21ef8fab6ef (patch) | |
tree | 62a3df53faa6d3bc1ee3dfa5a91276fd8c763d0f /Modules/CMakeCXXCompilerId.cpp.in | |
parent | eca869cc0dcadb85669dc98498e57d7e83d23b3e (diff) | |
parent | 4ef6e27cb9c2e005d3d1f26ba6a99d164b1eee9d (diff) | |
download | CMake-0d0831e481df6cc5c9e26864ed35c21ef8fab6ef.zip CMake-0d0831e481df6cc5c9e26864ed35c21ef8fab6ef.tar.gz CMake-0d0831e481df6cc5c9e26864ed35c21ef8fab6ef.tar.bz2 |
Merge topic 'default-extensions'
4ef6e27cb9 CompilerId: Fix default extensions check for Clang targeting MSVC ABI
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Merge-request: !6949
Diffstat (limited to 'Modules/CMakeCXXCompilerId.cpp.in')
-rw-r--r-- | Modules/CMakeCXXCompilerId.cpp.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/CMakeCXXCompilerId.cpp.in b/Modules/CMakeCXXCompilerId.cpp.in index 4904249..f19bc97 100644 --- a/Modules/CMakeCXXCompilerId.cpp.in +++ b/Modules/CMakeCXXCompilerId.cpp.in @@ -66,10 +66,9 @@ const char* info_language_standard_default = "INFO" ":" "standard_default[" "]"; const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -/* !defined(_MSC_VER) to exclude Clang's MSVC compatibility mode. */ #if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) && !defined(_MSC_VER) + !defined(__STRICT_ANSI__) "ON" #else "OFF" |