Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Enabled more warnings. Get to work!
  • Loading branch information
jordan-woyak committed Jan 29, 2013
1 parent a8d4c78 commit 8ab2332
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion CMakeLists.txt
Expand Up @@ -111,7 +111,21 @@ add_definitions(-msse2)

# Enabling all warnings in MSVC spams too much
if(NOT MSVC)
add_definitions(-Wall)
add_definitions(-Wall
# TODO: would like these but they produce overwhelming amounts of warnings
# -Wextra
# -Wmissing-field-initializers
# -Wswitch-default
# -Wfloat-equal
# -Wconversion
# -Wzero-as-null-pointer-constant
-Wtype-limits
-Wsign-compare
-Wignored-qualifiers
-Wuninitialized
-Wlogical-op
-Wshadow
-Winit-self)
endif(NOT MSVC)

# gcc uses some optimizations which might break stuff without this flag
Expand Down

0 comments on commit 8ab2332

Please sign in to comment.