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
/
win32
/
atl
/
CMakeLists.txt
diff --git
a/dll/win32/atl/CMakeLists.txt
b/dll/win32/atl/CMakeLists.txt
index
475ebab
..
ac49211
100644
(file)
--- a/
dll/win32/atl/CMakeLists.txt
+++ b/
dll/win32/atl/CMakeLists.txt
@@
-9,6
+9,11
@@
add_definitions(
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(atl.dll atl.spec ADD_IMPORTLIB)
+if(MSVC)
+ # Disable warning C4477 (printf format warnings)
+ add_compile_flags("/wd4477")
+endif()
+
list(APPEND SOURCE
atl.c
atl30.c