[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:
Timo Kreuzer 2014-05-31 21:26:26 +00:00
parent 6cfa5d2e25
commit a5cffd2542
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
add_compile_flags("-Wno-error=unused-but-set-variable")
endif()
add_compile_flags("-Wtype-limits -Wno-error=type-limits")
add_compile_flags("-Wno-error=type-limits")
if(ARCH STREQUAL "amd64")
add_compile_flags("-Wno-format")

View file

@ -15,5 +15,5 @@ add_importlibs(mciseq winmm user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET mciseq DESTINATION reactos/system32 FOR all)
if(NOT MSVC)
add_target_compile_flags(mciseq "-Wno-error=overflow")
add_target_compile_flags(mciseq "-Wno-overflow")
endif()