From 2857b55a463a288753f2b860b7bfb9bf538d00ed Mon Sep 17 00:00:00 2001 From: Tor Didriksen Date: Thu, 27 May 2010 09:42:48 +0200 Subject: Bug #53445 Build with -Wall and fix warnings that it generates Post-push fix: -Wall implies -Wunused on some platforms, which will generate thousands of warnings about unused parameters. --- configure.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.cmake') diff --git a/configure.cmake b/configure.cmake index 14e561b86ef..1727e2b2c10 100644 --- a/configure.cmake +++ b/configure.cmake @@ -56,7 +56,7 @@ ENDIF() # Always enable -Wall for gnu C/C++ IF(CMAKE_COMPILER_IS_GNUCXX) - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-unused-parameter") ENDIF() IF(CMAKE_COMPILER_IS_GNUCC) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") -- cgit v1.2.1