From b214854ed91c2f1368666af9513681c67b9789b4 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sat, 2 May 2009 22:05:07 +0200 Subject: Gift for oroborous. New warnings ;] --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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 -- cgit v1.2.3