[MCISEQ] Silence a warning
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 31 May 2014 21:26:26 +0000 (21:26 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 31 May 2014 21:26:26 +0000 (21:26 +0000)
[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

reactos/cmake/gcc.cmake
reactos/dll/win32/mciseq/CMakeLists.txt

index 9b534c5..d3b6a06 100644 (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")
index ee5a095..c9cf715 100644 (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()