https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e7c6eac60748b6e2e73387ffbc040f916e8eda7d

commit e7c6eac60748b6e2e73387ffbc040f916e8eda7d
Author:     Timo Kreuzer <timo.kreu...@reactos.org>
AuthorDate: Fri Nov 29 12:40:03 2024 +0200
Commit:     Timo Kreuzer <timo.kreu...@reactos.org>
CommitDate: Tue Jan 14 13:34:24 2025 +0200

    [NFSD] Disable a clang warning
---
 base/services/nfsd/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/base/services/nfsd/CMakeLists.txt 
b/base/services/nfsd/CMakeLists.txt
index 77054777c8c..3aeb58722c0 100644
--- a/base/services/nfsd/CMakeLists.txt
+++ b/base/services/nfsd/CMakeLists.txt
@@ -55,6 +55,9 @@ else()
     # FIXME: Tons of warnings.
     target_compile_options(nfsd PRIVATE "-w")
 endif()
+if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
+    target_compile_options(nfsd PRIVATE 
-Wno-incompatible-function-pointer-types)
+endif()
 
 target_link_libraries(nfsd oldnames)
 

Reply via email to