mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:56:00 +00:00
[MCISEQ] Silence a warning
[CMAKE] Get rid of -Wtype-limits, it's noisy, it doesn't provide any reasonable benefit and it's almost impossible to "fix" these warnings without huge haxxory. svn path=/trunk/; revision=63520
This commit is contained in:
parent
6cfa5d2e25
commit
a5cffd2542
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||||
add_compile_flags("-Wno-error=unused-but-set-variable")
|
add_compile_flags("-Wno-error=unused-but-set-variable")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_compile_flags("-Wtype-limits -Wno-error=type-limits")
|
add_compile_flags("-Wno-error=type-limits")
|
||||||
|
|
||||||
if(ARCH STREQUAL "amd64")
|
if(ARCH STREQUAL "amd64")
|
||||||
add_compile_flags("-Wno-format")
|
add_compile_flags("-Wno-format")
|
||||||
|
|
|
@ -15,5 +15,5 @@ add_importlibs(mciseq winmm user32 msvcrt kernel32 ntdll)
|
||||||
add_cd_file(TARGET mciseq DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET mciseq DESTINATION reactos/system32 FOR all)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_target_compile_flags(mciseq "-Wno-error=overflow")
|
add_target_compile_flags(mciseq "-Wno-overflow")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue