https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a3019731cc7b29fcecfff…
commit a3019731cc7b29fcecfffb4856e1e51ddd3046d6
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Fri Nov 29 15:05:19 2024 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Tue Jan 14 13:34:24 2025 +0200
[D3DRM] Disable a clang warning
---
dll/directx/wine/d3drm/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dll/directx/wine/d3drm/CMakeLists.txt
b/dll/directx/wine/d3drm/CMakeLists.txt
index cd1eaad8832..b0234641ac2 100644
--- a/dll/directx/wine/d3drm/CMakeLists.txt
+++ b/dll/directx/wine/d3drm/CMakeLists.txt
@@ -28,3 +28,7 @@ target_link_libraries(d3drm dxguid uuid wine)
add_importlibs(d3drm ddraw d3dxof msvcrt kernel32 ntdll)
add_pch(d3drm precomp.h SOURCE)
add_cd_file(TARGET d3drm DESTINATION reactos/system32 FOR all)
+
+if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
+ target_compile_options(d3drm PRIVATE -Wno-incompatible-function-pointer-types)
+endif()