mirror of
https://github.com/reactos/reactos.git
synced 2025-01-09 05:04:01 +08:00
[MSVCRT_WINETEST] Re-enable MSVC warning C4477
Follow-up to ce2df64a06
.
Also, remove '-Wno-format' for other compilers.
This commit is contained in:
parent
4e721f780e
commit
ed909ba9d9
@ -4,11 +4,6 @@ add_definitions(
|
||||
-D_CRT_NONSTDC_NO_DEPRECATE
|
||||
-D__msvcrt_ulong=ULONG)
|
||||
|
||||
if(MSVC)
|
||||
# Disable warning C4477 (printf format warnings)
|
||||
add_compile_flags("/wd4477")
|
||||
endif()
|
||||
|
||||
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
add_compile_flags("-Wno-stringop-truncation")
|
||||
endif()
|
||||
@ -32,10 +27,6 @@ list(APPEND SOURCE
|
||||
|
||||
add_executable(msvcrt_winetest ${SOURCE} testlist.c)
|
||||
|
||||
if(USE_CLANG_CL OR (NOT MSVC))
|
||||
add_target_compile_flags(msvcrt_winetest "-Wno-format")
|
||||
endif()
|
||||
|
||||
set_module_type(msvcrt_winetest win32cui)
|
||||
add_importlibs(msvcrt_winetest advapi32 msvcrt kernel32)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user