Author: akhaldi Date: Sun Jun 16 19:13:50 2013 New Revision: 59236 URL: http://svn.reactos.org/svn/reactos?rev=59236&view=rev Log: [MESA32] * Silence warnings.
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.txt?rev=59236&r1=59235&r2=59236&view=diff ============================================================================== --- trunk/reactos/dll/opengl/mesa/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/opengl/mesa/CMakeLists.txt [iso-8859-1] Sun Jun 16 19:13:50 2013 @@ -13,10 +13,8 @@ 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() + add_compile_flags("-Wno-deprecated-declarations -Wno-error=unused-local-typedefs -Wno-unused-but-set-variable") + add_compile_flags_language("-Wno-delete-non-virtual-dtor -Wno-narrowing" "CXX") # optimizations (builtin memcmp is slow on some gcc versions) used in SConsript files add_compile_flags("-ffast-math -fno-builtin-memcmp") else()