diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-09 08:37:51 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-09 08:37:51 -0300 |
commit | 4f59204b496f1e3fd97b85439d84089f47113630 (patch) | |
tree | 618710edfd841358f060036783d1d1d219e51546 /tests | |
parent | 3c39a562081724c3828c0296b67f376f1adb4aba (diff) | |
download | mariadb-git-4f59204b496f1e3fd97b85439d84089f47113630.tar.gz |
Bug#53445: Build with -Wall and fix warnings that it generates
Introduce a MySQL maintainer/developer mode that enables
a set of warning options for the C/C++ compiler. This mode
is intended to help improve the overall quality of the code.
The warning options are:
C_WARNINGS="-Wall -Wextra -Wunused -Wwrite-strings -Werror"
CXX_WARNINGS="$C_WARNINGS -Wno-unused-parameter"
Since -Wall is essentially a moving target, autoconf checks
are not run with warning options enabled, in particualr -Werror.
This decision might be revisited in the future. The patch also
fixes a mistake in the makefiles, where automake CXXFLAGS would
be set to CFLAGS.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions