Author: dgorbachev
Date: Thu Sep 6 21:09:36 2012
New Revision: 57247
URL:
http://svn.reactos.org/svn/reactos?rev=57247&view=rev
Log:
[OPENGL]
Silence GCC warning.
Modified:
trunk/reactos/dll/opengl/mesa/CMakeLists.txt
Modified: trunk/reactos/dll/opengl/mesa/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/CMakeLists…
==============================================================================
--- trunk/reactos/dll/opengl/mesa/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/opengl/mesa/CMakeLists.txt [iso-8859-1] Thu Sep 6 21:09:36 2012
@@ -14,6 +14,9 @@
if(NOT MSVC)
add_compile_flags_language("-std=gnu99" "C")
add_compile_flags("-Wno-deprecated-declarations")
+ if(GCC_VERSION VERSION_EQUAL 4.7 OR GCC_VERSION VERSION_GREATER 4.7)
+ add_compile_flags("-Wno-error=unused-local-typedefs")
+ endif()
# optimizations (builtin memcmp is slow on some gcc versions) used in SConsript
files
add_compile_flags("-ffast-math -fno-builtin-memcmp")
else()
@@ -32,4 +35,4 @@
# our DBG definitions conflict with mesa source code
remove_definitions(-DDBG=1 -DDBG=0)
-add_subdirectory(src)
+add_subdirectory(src)