mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:45:41 +00:00
[3RDPARTY] Suppress MSVC printf format warnings in 3rd-party code
This commit is contained in:
parent
58588b76e2
commit
ad89837c0e
10 changed files with 48 additions and 0 deletions
|
@ -4,6 +4,11 @@ remove_definitions(-D_WIN32_IE=0x600)
|
|||
add_definitions(-D__ROS_LONG64__)
|
||||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||||
|
||||
if (MSVC)
|
||||
# Disable warning C4477 (printf format warnings)
|
||||
add_compile_flags("/wd4477")
|
||||
endif()
|
||||
|
||||
list(APPEND SOURCE
|
||||
olecallback.c
|
||||
print.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue