[Orxonox-commit 5020] r9686 - code/trunk/cmake
landauf at orxonox.net
landauf at orxonox.net
Thu Oct 3 23:17:48 CEST 2013
Author: landauf
Date: 2013-10-03 23:17:47 +0200 (Thu, 03 Oct 2013)
New Revision: 9686
Modified:
code/trunk/cmake/CompilerConfigGCC.cmake
Log:
disabled warning which was added to -Wall in GCC 4.8 (see http://gcc.gnu.org/gcc-4.8/porting_to.html) which triggered lots of warnings in Boost's header files
Modified: code/trunk/cmake/CompilerConfigGCC.cmake
===================================================================
--- code/trunk/cmake/CompilerConfigGCC.cmake 2013-10-03 20:58:02 UTC (rev 9685)
+++ code/trunk/cmake/CompilerConfigGCC.cmake 2013-10-03 21:17:47 UTC (rev 9686)
@@ -100,6 +100,10 @@
# messages. Other versions don't seem to show any such warnings at all.
ADD_COMPILER_FLAGS("-Wno-deprecated" CXX CACHE)
+# Since GCC 4.8 -Wall includes -Wunused-local-typedefs which triggers lots of warnings
+# in Boost headers, hence we disable it
+ADD_COMPILER_FLAGS("-Wno-unused-local-typedefs" CXX CACHE)
+
# Always show why a precompiled header file could not be used
ADD_COMPILER_FLAGS("-Winvalid-pch" CXX CACHE)
More information about the Orxonox-commit
mailing list