summaryrefslogtreecommitdiff
path: root/support-files/compiler_warnings.supp
diff options
context:
space:
mode:
authorunknown <monty@mysql.com/narttu.mysql.fi>2007-02-22 20:20:49 +0200
committerunknown <monty@mysql.com/narttu.mysql.fi>2007-02-22 20:20:49 +0200
commit77db97540964830edd35906aa8447d4beb776ad8 (patch)
tree282a43707215f718f7a0d61080e3cc44269b622d /support-files/compiler_warnings.supp
parent50bd97a9436afe01606ad0cef323e7bda4d77e9b (diff)
downloadmariadb-git-77db97540964830edd35906aa8447d4beb776ad8.tar.gz
Portability fix
Suppress compiler warnings from bdb and (for the moment) warnings from ndb client/mysqltest.c: Portability fix for windows (windows doesn't have mode_t) support-files/compiler_warnings.supp: Suppress warnings from bdb and (for the moment) warnings from ndb
Diffstat (limited to 'support-files/compiler_warnings.supp')
-rw-r--r--support-files/compiler_warnings.supp14
1 files changed, 14 insertions, 0 deletions
diff --git a/support-files/compiler_warnings.supp b/support-files/compiler_warnings.supp
index 9e18bee0f9e..8f5f3408b44 100644
--- a/support-files/compiler_warnings.supp
+++ b/support-files/compiler_warnings.supp
@@ -5,8 +5,22 @@ DbtupExecQuery.cpp : .*unused variable.* : 1448-1449
sql_yacc.cc : .*switch statement contains 'default' but no 'case' labels.*
#
+# bdb is not critical to keep up to date
+#
+.*/bdb/.* : .*discards qualifiers from pointer target type.*
+.*/bdb/.* : .*unused parameter.*
+.*/bdb/.* : .*may be used uninitialized.*
+.*/bdb/.* : .*empty body in an if-statement.*
+db_vrfy.c : .*comparison is always false due to limited range of data type.*
+
+#
# Ignore all conversion warnings on windows 64
# (Is safe as we are not yet supporting strings >= 2G)
#
.* : conversion from 'size_t' to .*int'.*
.* : conversion from '__int64' to .*int'.*
+
+#
+# The following should be fixed by the ndb team
+#
+.*/ndb/.* : .*used uninitialized in this function.*