summaryrefslogtreecommitdiff
path: root/cmake/maintainer.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-01-31 12:54:07 +0100
committerSergei Golubchik <serg@mariadb.org>2015-01-31 21:51:45 +0100
commitb050354ffb15e4e27498b169ec723da4d8aa8da6 (patch)
tree36ae0529f9ba4cd827b8fee44f93336d7f9f36c2 /cmake/maintainer.cmake
parentf299da89babddc78a06efff918d815bc3b9562d8 (diff)
downloadmariadb-git-b050354ffb15e4e27498b169ec723da4d8aa8da6.tar.gz
compiler warnings
Diffstat (limited to 'cmake/maintainer.cmake')
-rw-r--r--cmake/maintainer.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/maintainer.cmake b/cmake/maintainer.cmake
index 872d61d9aac..9a2bc7e7a26 100644
--- a/cmake/maintainer.cmake
+++ b/cmake/maintainer.cmake
@@ -14,7 +14,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Common warning flags for GCC, G++, Clang and Clang++
-SET(MY_WARNING_FLAGS "-Wall -Wextra -Wformat-security")
+SET(MY_WARNING_FLAGS "-Wall -Wextra -Wformat-security -Wno-init-self")
MY_CHECK_C_COMPILER_FLAG("-Wvla" HAVE_WVLA) # Requires GCC 4.3+ or Clang
IF(HAVE_WVLA)
SET(MY_WARNING_FLAGS "${MY_WARNING_FLAGS} -Wvla")