Skip to content

Commit

Permalink
Disabled -Wlogical-op, as that fails on clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Grumbel committed Aug 31, 2014
1 parent 1b0e66b commit f7b6d5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,5 +1,6 @@
# Build Files
build/*
build/
build.*/
supertux2

# Additional Repos/Translations
Expand Down
4 changes: 3 additions & 1 deletion CMakeLists.txt
Expand Up @@ -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)

Expand Down

0 comments on commit f7b6d5b

Please sign in to comment.