diff options
| author | Erik Kundiman <erik@megapahit.org> | 2025-03-05 11:04:54 +0800 | 
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2025-03-05 12:37:45 +0800 | 
| commit | a4e8aabfa95d236a7832b7b07eaccf8500f1cd76 (patch) | |
| tree | 4566d4a2ab9b9376410b72a4a0a50fcfffeebc09 | |
| parent | 9f2f6014a529e8a0e3df625396e5e878ce1bea73 (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.patch | 2 | 
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" | 
