projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[3RDPARTY] Suppress MSVC printf format warnings in 3rd-party code
[reactos.git]
/
dll
/
3rdparty
/
libtirpc
/
CMakeLists.txt
diff --git
a/dll/3rdparty/libtirpc/CMakeLists.txt
b/dll/3rdparty/libtirpc/CMakeLists.txt
index
dd636c9
..
1cadd65
100644
(file)
--- a/
dll/3rdparty/libtirpc/CMakeLists.txt
+++ b/
dll/3rdparty/libtirpc/CMakeLists.txt
@@
-9,6
+9,9
@@
include_directories(${REACTOS_SOURCE_DIR}/dll/3rdparty/libtirpc/tirpc)
if(MSVC)
# error C4133: '=': incompatible types - from 'char *' to 'int32_t *'
replace_compile_flags("/we4133" " ")
+
+ # Disable warning C4477 (printf format warnings)
+ add_compile_flags("/wd4313")
endif()
list(APPEND SOURCE