https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3523e1a9f338a6a724a7dfd56a27e038ac924f2c
commit 3523e1a9f338a6a724a7dfd56a27e038ac924f2c Author: Timo Kreuzer <[email protected]> AuthorDate: Fri Nov 29 13:01:49 2024 +0200 Commit: Timo Kreuzer <[email protected]> CommitDate: Tue Jan 14 13:34:24 2025 +0200 [ZLIB] Disable a clang warning --- sdk/lib/3rdparty/zlib/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk/lib/3rdparty/zlib/CMakeLists.txt b/sdk/lib/3rdparty/zlib/CMakeLists.txt index af42ff93b48..2630baf0870 100644 --- a/sdk/lib/3rdparty/zlib/CMakeLists.txt +++ b/sdk/lib/3rdparty/zlib/CMakeLists.txt @@ -31,6 +31,9 @@ list(APPEND MINIZIP_SOURCE contrib/minizip/zip.c contrib/minizip/zip.h) +if(CMAKE_C_COMPILER_ID STREQUAL "Clang") + add_compile_options(-Wno-deprecated-non-prototype) +endif() if(CMAKE_CROSSCOMPILING) add_library(zlib ${SOURCE} ${SOLO_SOURCE})
