summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-03-05 11:04:54 +0800
committerErik Kundiman <erik@megapahit.org>2025-03-05 12:37:45 +0800
commita4e8aabfa95d236a7832b7b07eaccf8500f1cd76 (patch)
tree4566d4a2ab9b9376410b72a4a0a50fcfffeebc09
parent9f2f6014a529e8a0e3df625396e5e878ce1bea73 (diff)
Don't treat cast-user-defined as an error
on Arch's GCC 14.2.1
-rw-r--r--patches/collada-dom-v2.3-r8.patch2
1 files changed, 1 insertions, 1 deletions
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"