https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4eb7ef494db8067e7c8d3…
commit 4eb7ef494db8067e7c8d33da7bcbad0919ebd66c
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Fri Nov 29 14:21:41 2024 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Tue Jan 14 13:34:24 2025 +0200
[MSXML3] Disable a clang warning
---
dll/win32/msxml3/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dll/win32/msxml3/CMakeLists.txt b/dll/win32/msxml3/CMakeLists.txt
index be0ebf4105f..d5efac65459 100644
--- a/dll/win32/msxml3/CMakeLists.txt
+++ b/dll/win32/msxml3/CMakeLists.txt
@@ -81,6 +81,10 @@ if(MSVC)
target_compile_options(msxml3 PRIVATE /wd4090)
endif()
+if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
+ target_compile_options(msxml3 PRIVATE -Wno-incompatible-function-pointer-types)
+endif()
+
add_importlibs(msxml3 urlmon ws2_32 shlwapi oleaut32 ole32 user32 msvcrt kernel32 ntdll)
add_dependencies(msxml3 xmlparser_idlheader stdole2) # msxml3_v1.tlb needs stdole2.tlb
add_pch(msxml3 precomp.h "${PCH_SKIP_SOURCE}")