From 9fc736eaa0ecc21b81d961ed90fa83373835b7cf Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 1 Oct 2023 20:47:16 +1000 Subject: [PATCH] dep/vixl: Fix build with clang-cl --- dep/vixl/include/vixl/utils-vixl.h | 2 +- dep/vixl/vixl.vcxproj | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dep/vixl/include/vixl/utils-vixl.h b/dep/vixl/include/vixl/utils-vixl.h index dac31d1a6..fe56b92f0 100644 --- a/dep/vixl/include/vixl/utils-vixl.h +++ b/dep/vixl/include/vixl/utils-vixl.h @@ -48,7 +48,7 @@ namespace vixl { #ifdef __GNUC__ #define VIXL_HAS_DEPRECATED_WITH_MSG #elif defined(__clang__) -#ifdef __has_extension(attribute_deprecated_with_message) +#if __has_extension(attribute_deprecated_with_message) #define VIXL_HAS_DEPRECATED_WITH_MSG #endif #endif diff --git a/dep/vixl/vixl.vcxproj b/dep/vixl/vixl.vcxproj index 46c1074e3..a702ac6f4 100644 --- a/dep/vixl/vixl.vcxproj +++ b/dep/vixl/vixl.vcxproj @@ -156,6 +156,7 @@ TurnOffAllWarnings $(VixlPreprocessorDefinitions);%(PreprocessorDefinitions) $(ProjectDir)include;$(ProjectDir)include\vixl;$(VixlIncludeDirectories);%(AdditionalIncludeDirectories) + -Wno-deprecated-enum-enum-conversion %(AdditionalOptions)