summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@sun.com>2010-05-27 09:42:48 +0200
committerTor Didriksen <tor.didriksen@sun.com>2010-05-27 09:42:48 +0200
commit2857b55a463a288753f2b860b7bfb9bf538d00ed (patch)
treede602bde60db8dd9da3dee26f9011304398f119a /configure.cmake
parentd8536dfbddbf98df10081bdbf83b2c06cf9d01c1 (diff)
downloadmariadb-git-2857b55a463a288753f2b860b7bfb9bf538d00ed.tar.gz
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.
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake2
1 files changed, 1 insertions, 1 deletions
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")