diff options
author | Guilhem Bichot <guilhem@mysql.com> | 2010-11-05 14:33:59 +0100 |
---|---|---|
committer | Guilhem Bichot <guilhem@mysql.com> | 2010-11-05 14:33:59 +0100 |
commit | da6683d3a390a4f2ce823270a81c1e497d597c30 (patch) | |
tree | 2305a8d4c39abc36144e6d177c24a660ebeea6c5 /config/ac-macros | |
parent | 03b9e73878c8953d8228dfefb0a14d4c09756cf3 (diff) | |
parent | f6ae96d40dc3e24c7ea0d88fa8cbfc3554449d04 (diff) | |
download | mariadb-git-da6683d3a390a4f2ce823270a81c1e497d597c30.tar.gz |
Merge of the fix for BUG#57933 "add -Wdeclaration-after-statement to gcc builds"
from 5.1; extended here to Cmake builds.
Diffstat (limited to 'config/ac-macros')
-rw-r--r-- | config/ac-macros/maintainer.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/ac-macros/maintainer.m4 b/config/ac-macros/maintainer.m4 index 5960853d7f1..b4d2f08e558 100644 --- a/config/ac-macros/maintainer.m4 +++ b/config/ac-macros/maintainer.m4 @@ -19,6 +19,7 @@ AC_DEFUN([MY_MAINTAINER_MODE_WARNINGS], [ AS_IF([test "$GCC" = "yes"], [ C_WARNINGS="-Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Werror" CXX_WARNINGS="${C_WARNINGS} -Wno-unused-parameter" + C_WARNINGS="${C_WARNINGS} -Wdeclaration-after-statement" ]) # Test whether the warning options work. |