[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55438] trunk/blender/CMakeLists.txt: Make Blender compile again normal again with gcc 4.2

Ton Roosendaal ton at blender.org
Wed Mar 20 13:34:20 CET 2013


Revision: 55438
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55438
Author:   ton
Date:     2013-03-20 12:34:20 +0000 (Wed, 20 Mar 2013)
Log Message:
-----------
Make Blender compile again normal again with gcc 4.2

-Wredundant-decls is giving 1000s of lines of warnings for every file...

Modified Paths:
--------------
    trunk/blender/CMakeLists.txt

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt	2013-03-20 10:06:28 UTC (rev 55437)
+++ trunk/blender/CMakeLists.txt	2013-03-20 12:34:20 UTC (rev 55438)
@@ -1953,7 +1953,7 @@
 	ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_INIT_SELF -Winit-self)  # needs -Wuninitialized
 	ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_MISSING_INCLUDE_DIRS -Wmissing-include-dirs)
 	ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_NO_DIV_BY_ZERO -Wno-div-by-zero)
-	ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_REDUNDANT_DECLS -Wredundant-decls)
+	# ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_REDUNDANT_DECLS -Wredundant-decls)
 
 	# gcc 4.2 gives annoying warnings on every file with this
 	if (NOT "${CMAKE_C_COMPILER_VERSION}" VERSION_LESS "4.3")




More information about the Bf-blender-cvs mailing list