[Initng-svn] r3702 - initng/trunk

svn at initng.thinktux.net svn at initng.thinktux.net
Thu Apr 6 11:42:10 CEST 2006


Author: jimmy
Date: Thu Apr  6 11:42:09 2006
New Revision: 3702

Modified:
   initng/trunk/CMakeLists.txt
Log:
We still dont tolerate warnings.


Modified: initng/trunk/CMakeLists.txt
==============================================================================
--- initng/trunk/CMakeLists.txt	(original)
+++ initng/trunk/CMakeLists.txt	Thu Apr  6 11:42:09 2006
@@ -6,7 +6,7 @@
 
 ADD_DEFINITIONS(-DHAVE_CONFIG_H)
 # Turn on warnings
-ADD_DEFINITIONS(-Wall)
+ADD_DEFINITIONS(-Wall -Werror)
 
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
 
@@ -76,7 +76,7 @@
 OPTION(DEBUG "Build with developer tools, turns on additional warnings and Werror" ON)
 
 IF(DEBUG)
-    ADD_DEFINITIONS(-DDEBUG -Werror -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wimplicit -Wredundant-decls -Wnested-externs -Wwrite-strings -Wsign-compare -Winline -Wswitch -Wreturn-type -Wparentheses -Wmissing-braces -Wformat -Wformat-nonliteral -Wformat-security -Wsequence-point -Wundef -Wunused -Wcomment)
+    ADD_DEFINITIONS(-DDEBUG -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wimplicit -Wredundant-decls -Wnested-externs -Wwrite-strings -Wsign-compare -Winline -Wswitch -Wreturn-type -Wparentheses -Wmissing-braces -Wformat -Wformat-nonliteral -Wformat-security -Wsequence-point -Wundef -Wunused -Wcomment)
 ENDIF(DEBUG)
 
 CONFIGURE_FILE(


More information about the Initng-svn mailing list