From a4e8aabfa95d236a7832b7b07eaccf8500f1cd76 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 5 Mar 2025 11:04:54 +0800 Subject: Don't treat cast-user-defined as an error on Arch's GCC 14.2.1 --- patches/collada-dom-v2.3-r8.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/collada-dom-v2.3-r8.patch b/patches/collada-dom-v2.3-r8.patch index ad2bd46b46..3ce0eb0565 100644 --- a/patches/collada-dom-v2.3-r8.patch +++ b/patches/collada-dom-v2.3-r8.patch @@ -510,7 +510,7 @@ index 17fbaea..d0d5939 100644 +add_library(collada14dom STATIC ${COLLADA_BASE_SOURCES} ${dom_files}) +if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + target_compile_options(collada14dom PRIVATE -+ "-pedantic" "-Wno-error=unused-result") ++ "-pedantic" "-Wno-error=unused-result" "-Wno-error=cast-user-defined") +elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") + target_compile_options(collada14dom PRIVATE + "-Wno-error=unused-result" -- cgit v1.2.3