From 8bcf523b19020c71f53fa3019d6e8db9c5a79115 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferrandi Date: Fri, 12 Apr 2024 16:27:12 +0200 Subject: [PATCH] Changed default compiler. --- src/wrapper/compiler/compiler_wrapper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wrapper/compiler/compiler_wrapper.cpp b/src/wrapper/compiler/compiler_wrapper.cpp index e7c8120c9..46f84c959 100644 --- a/src/wrapper/compiler/compiler_wrapper.cpp +++ b/src/wrapper/compiler/compiler_wrapper.cpp @@ -2979,7 +2979,9 @@ int CompilerWrapper::getCompatibleCompilers() int CompilerWrapper::getDefaultCompiler() { return -#if HAVE_I386_CLANG7_COMPILER && defined(_WIN32) +#if HAVE_I386_CLANG16_COMPILER + static_cast(CompilerWrapper_CompilerTarget::CT_I386_CLANG16); +#elif HAVE_I386_CLANG7_COMPILER && defined(_WIN32) static_cast(CompilerWrapper_CompilerTarget::CT_I386_CLANG7); #elif HAVE_I386_GCC49_COMPILER static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC49); @@ -3011,8 +3013,6 @@ int CompilerWrapper::getDefaultCompiler() static_cast(CompilerWrapper_CompilerTarget::CT_I386_CLANG12); #elif HAVE_I386_CLANG13_COMPILER static_cast(CompilerWrapper_CompilerTarget::CT_I386_CLANG13); -#elif HAVE_I386_CLANG16_COMPILER - static_cast(CompilerWrapper_CompilerTarget::CT_I386_CLANG16); #elif HAVE_I386_CLANGVVD_COMPILER static_cast(CompilerWrapper_CompilerTarget::CT_I386_CLANGVVD); #else