diff options
author | unknown <monty@mysql.com> | 2005-05-18 19:00:21 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-05-18 19:00:21 +0300 |
commit | ac76b1521539b454161c44619c9a9c5723858995 (patch) | |
tree | b3842c1613c97d550be652ce1e354686b5ca35ee /config | |
parent | d568e484fe6e10e68cbd867c71b46c9117036e73 (diff) | |
download | mariadb-git-ac76b1521539b454161c44619c9a9c5723858995.tar.gz |
Fix warnings from icc
Added BUILD scripts for icc
Fixed (one time) memory leak in grant handling
config/ac-macros/misc.m4:
Remove warnings flags from icc when compiling with -Werror
configure.in:
Remove warnings flags from icc when compiling with -Werror
extra/replace.c:
Fix warnings from icc
include/my_dbug.h:
Fix warnings from icc
sql/gen_lex_hash.cc:
Fix warnings from icc
sql/mysql_priv.h:
Add missing variables
sql/mysqld.cc:
Fix warnings from icc:
- made a lot of variables static
- Removing some not used variables
- Fixed wrong printf()
- removed extern "C" from some functions
sql/spatial.h:
Fix warnings from icc
sql/sql_acl.cc:
Fixed memory leak
sql/sql_lex.cc:
Fix warnings from icc
sql/sql_lex.h:
Fix warnings from icc
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/misc.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ac-macros/misc.m4 b/config/ac-macros/misc.m4 index 8c961ef84e0..e2564c2b80a 100644 --- a/config/ac-macros/misc.m4 +++ b/config/ac-macros/misc.m4 @@ -38,7 +38,7 @@ AC_LANG_PUSH(C++) if test "$ac_cv_prog_gxx" = "yes" then # Add -Werror, remove -fbranch-probabilities (Bug #268) - CXXFLAGS=`echo $CXXFLAGS -Werror | sed 's/-fbranch-probabilities//'` + CXXFLAGS=`echo "$CXXFLAGS -Werror" | sed -e 's/-fbranch-probabilities//; s/-Wall//; s/-Wcheck//'` fi mysql_cv_btype_last_arg_accept=none [AC_TRY_COMPILE([#if defined(inline) @@ -98,7 +98,7 @@ AC_LANG_PUSH(C++) if test "$ac_cv_prog_gxx" = "yes" then # Add -Werror, remove -fbranch-probabilities (Bug #268) - CXXFLAGS=`echo $CXXFLAGS -Werror | sed 's/-fbranch-probabilities//'` + CXXFLAGS=`echo "$CXXFLAGS -Werror" | sed -e 's/-fbranch-probabilities//; s/-Wall//; s/-Wcheck//'` fi mysql_cv_btype_struct_rlimit=none [AC_TRY_COMPILE([#if defined(inline) |