diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-01-31 12:54:07 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-01-31 21:51:45 +0100 |
commit | b050354ffb15e4e27498b169ec723da4d8aa8da6 (patch) | |
tree | 36ae0529f9ba4cd827b8fee44f93336d7f9f36c2 /cmake/maintainer.cmake | |
parent | f299da89babddc78a06efff918d815bc3b9562d8 (diff) | |
download | mariadb-git-b050354ffb15e4e27498b169ec723da4d8aa8da6.tar.gz |
compiler warnings
Diffstat (limited to 'cmake/maintainer.cmake')
-rw-r--r-- | cmake/maintainer.cmake | 2 |
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") |