From 13ba79ea5f5d496dbc80f16d8ba492e4f9e768f9 Mon Sep 17 00:00:00 2001 From: Emil Laine Date: Sun, 24 Apr 2016 01:28:13 +0300 Subject: [PATCH] Remove unneeded -Wno-sign-compare (I didn't receive any warnings after enabling -Wsign-compare.) Conflicts: Sources/CMakeLists.txt --- Sources/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/Sources/CMakeLists.txt b/Sources/CMakeLists.txt index 83d9fd5..5683ced 100644 --- a/Sources/CMakeLists.txt +++ b/Sources/CMakeLists.txt @@ -110,8 +110,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang") set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS} -DNDEBUG=1 -D_NDEBUG=1 -Os -fno-unsafe-math-optimizations") # TODO fix these warnings - # !!! FIXME: turn a bunch of these off, this is just for now. I hope. --ryan. - add_compile_options(-Wno-sign-compare) add_compile_options(-Wno-switch) add_compile_options(-Wno-char-subscripts) add_compile_options(-Wno-unknown-pragmas)