Permalink
Browse files

Add more strict warning checks

  • Loading branch information...
1 parent 4dcd7cd commit 5444c3bbb3d3f6274c08c58c266421ed594d9f6b @monaka monaka committed Oct 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/modules/IntrospectSystem.cmake
@@ -2,7 +2,7 @@
# initial system defaults
if(CMAKE_COMPILER_IS_GNUCC)
- set(MRUBY_DEFAULT_CFLAGS "-Wall -Werror-implicit-function-declaration")
+ set(MRUBY_DEFAULT_CFLAGS "-std=gnu99 -Wall -Werror-implicit-function-declaration -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign -Wno-missing-field-initializers -Wformat=2 -Wstrict-aliasing=2 -Wdisabled-optimization -Wpointer-arith -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wredundant-decls")
set(CMAKE_C_FLAGS "${MRUBY_DEFAULT_CFLAGS}")
set(CMAKE_C_FLAGS_DEBUG "-O3 -ggdb")
set(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG")

0 comments on commit 5444c3b

Please sign in to comment.