summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-05-02 22:05:07 +0200
committerTomas Chvatal <scarabeus@gentoo.org>2009-05-02 22:05:17 +0200
commitb214854ed91c2f1368666af9513681c67b9789b4 (patch)
treee93bb3c4beb956fb562565b1c06e4dbeaf98b7d1 /CMakeLists.txt
parentcebe8049fb7239425b3308f43073f70442db171a (diff)
Gift for oroborous. New warnings ;]
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 65aff6f..08038ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -111,7 +111,8 @@ IF ( ENABLE_DEBUG )
ENDIF ( ENABLE_DEBUG )
IF ( DEVELOPER )
ADD_DEFINITIONS ( -DDEBUG )
- SET ( CMAKE_C_FLAGS "-g -O0 -pipe -Wall -Wextra -Wshadow -pedantic" )
+ # if somebody asks yes i am insane
+ SET ( CMAKE_C_FLAGS "-g -O0 -pipe -Wall -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wnested-externs -Wunsafe-loop-optimizations" )
ENDIF ( DEVELOPER )
###############################################################################
# BASIC DIRECTORIES FOR INCLUSION