Disabled -Wlogical-op, as that fails on clang
authorIngo Ruhnke <grumbel@gmail.com>
Sun, 31 Aug 2014 05:34:21 +0000 (07:34 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Sun, 31 Aug 2014 05:34:21 +0000 (07:34 +0200)
.gitignore
CMakeLists.txt

index e5de41d..a2293f0 100644 (file)
@@ -1,5 +1,6 @@
 # Build Files
-build/*
+build/
+build.*/
 supertux2
 
 # Additional Repos/Translations
index 3c7f743..f8bd259 100644 (file)
@@ -272,7 +272,9 @@ IF(CMAKE_COMPILER_IS_GNUCC)
     #   -Wold-style-cast -Wpadded -Wabi -Winline -Wunsafe-loop-optimizations -Wstrict-overflow=5
     # fails on MinGW:
     #   -ansi
-    SET(SUPERTUX2_EXTRA_WARNING_FLAGS "-fdiagnostics-show-option -pedantic -Wno-long-long -Wcast-align -Wdisabled-optimization -Winit-self -Winvalid-pch -Wlogical-op -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")
+    # 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")
   ENDIF(WARNINGS)
 ENDIF(CMAKE_COMPILER_IS_GNUCC)