X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=CMakeLists.txt;fp=CMakeLists.txt;h=f46bb2d801e56ec34fb6dc5fc65b9876054053a7;hb=9458e4e665e14385042597c45ded27a6c7d4e8d2;hp=f8bd259bb44ecd0afe0930cbd5403e373b236eff;hpb=05a87dffc3bf3c3e5786efda0c3b6b0f9972373d;p=supertux.git diff --git a/CMakeLists.txt b/CMakeLists.txt index f8bd259bb..f46bb2d80 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -273,8 +273,8 @@ IF(CMAKE_COMPILER_IS_GNUCC) # fails on MinGW: # -ansi # fails on clang: - # -Wlogical-op - SET(SUPERTUX2_EXTRA_WARNING_FLAGS "-fdiagnostics-show-option -pedantic -Wno-long-long -Wcast-align -Wdisabled-optimization -Winit-self -Winvalid-pch -Wmissing-include-dirs -Wmissing-noreturn -Wpacked -Wredundant-decls -Wstack-protector -Wformat=2 -Weffc++ -Wctor-dtor-privacy -Wstrict-null-sentinel -Wno-unused-parameter -Wshadow -Wnon-virtual-dtor -Wcast-qual") + # -Wlogical-op -Wstrict-null-sentinel + SET(SUPERTUX2_EXTRA_WARNING_FLAGS "-fdiagnostics-show-option -pedantic -Wno-long-long -Wcast-align -Wdisabled-optimization -Winit-self -Winvalid-pch -Wmissing-include-dirs -Wmissing-noreturn -Wpacked -Wredundant-decls -Wstack-protector -Wformat=2 -Weffc++ -Wctor-dtor-privacy -Wno-unused-parameter -Wshadow -Wnon-virtual-dtor -Wcast-qual") ENDIF(WARNINGS) ENDIF(CMAKE_COMPILER_IS_GNUCC)