[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18507] branches/blender2.5/blender/ CMakeLists.txt: Tweak the CMake warnings a bit.
Nicholas Bishop
nicholasbishop at gmail.com
Wed Jan 14 19:03:57 CET 2009
Revision: 18507
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18507
Author: nicholasbishop
Date: 2009-01-14 19:03:47 +0100 (Wed, 14 Jan 2009)
Log Message:
-----------
Tweak the CMake warnings a bit. For example, function declarations with no parameters being declared without void in the parameter list were throwing too many warnings to be useful. Same for implicit casting of function return values from one numeric type to another.
Modified Paths:
--------------
branches/blender2.5/blender/CMakeLists.txt
Modified: branches/blender2.5/blender/CMakeLists.txt
===================================================================
--- branches/blender2.5/blender/CMakeLists.txt 2009-01-14 17:36:13 UTC (rev 18506)
+++ branches/blender2.5/blender/CMakeLists.txt 2009-01-14 18:03:47 UTC (rev 18507)
@@ -197,7 +197,7 @@
SET(PLATFORM_LINKFLAGS "-pthread")
# Better warnings
- SET(C_WARNINGS "-Wall -Wno-char-subscripts -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wredundant-decls -Wdeclaration-after-statement -Wno-unused-parameter")
+ SET(C_WARNINGS "-Wall -Wextra -Wno-char-subscripts -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Waggregate-return -Wnested-externs -Wredundant-decls -Wdeclaration-after-statement -Wno-unused-parameter")
INCLUDE_DIRECTORIES(/usr/include /usr/local/include)
ENDIF(UNIX)
More information about the Bf-blender-cvs
mailing list