From 692a6854bdbe34baf399a497d09ee23212415f2f Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 16 Jun 2013 19:13:50 +0000 Subject: [PATCH] [MESA32] * Silence warnings. svn path=/trunk/; revision=59236 --- reactos/dll/opengl/mesa/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/reactos/dll/opengl/mesa/CMakeLists.txt b/reactos/dll/opengl/mesa/CMakeLists.txt index 678912ca4be..5ea21de8b0e 100644 --- a/reactos/dll/opengl/mesa/CMakeLists.txt +++ b/reactos/dll/opengl/mesa/CMakeLists.txt @@ -13,10 +13,8 @@ include_directories( 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()