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

commit 4a96e0adbc9b4ac64fb5020e678ea636ef6edfc3
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Sat Apr 13 18:24:01 2019 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Sat Apr 13 18:24:01 2019 +0200

    [3RDPARTY] Addendum to 146096cd: Make some warnings non-fatal.
---
 dll/3rdparty/libtirpc/CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dll/3rdparty/libtirpc/CMakeLists.txt 
b/dll/3rdparty/libtirpc/CMakeLists.txt
index a48db75fdb..dd636c9928 100644
--- a/dll/3rdparty/libtirpc/CMakeLists.txt
+++ b/dll/3rdparty/libtirpc/CMakeLists.txt
@@ -6,6 +6,11 @@ add_definitions(-DUNICODE -D_WIN32 -DPORTMAP -Dstrdup=_strdup 
-D_CRT_NONSTDC_NO_
 
 include_directories(${REACTOS_SOURCE_DIR}/dll/3rdparty/libtirpc/tirpc)
 
+if(MSVC)
+    # error C4133: '=': incompatible types - from 'char *' to 'int32_t *'
+    replace_compile_flags("/we4133" " ")
+endif()
+
 list(APPEND SOURCE
     src/asprintf.c
 #    src/auth_des.c

Reply via email to