2007-03-08 18:12:16 +01:00
|
|
|
#
|
|
|
|
# This file contains compiler warnings that can
|
|
|
|
# be ignored for various reasons.
|
|
|
|
#
|
|
|
|
|
2007-02-23 12:13:55 +01:00
|
|
|
integer.cpp: .*control reaches end of non-void function.*: 1288-1427
|
2010-01-28 15:49:14 +01:00
|
|
|
integer.cpp: .*no return statement in function returning non-void.*: 1288-1427
|
2007-01-10 18:05:13 +01:00
|
|
|
DictTabInfo.cpp : .*invalid access to non-static.*
|
|
|
|
DictTabInfo.cpp : .*macro was used incorrectly.*
|
2007-02-23 12:13:55 +01:00
|
|
|
DbdihMain.cpp : .*unused variable.* : 6666-7013
|
|
|
|
DbtupExecQuery.cpp : .*unused variable.* : 1823
|
2007-01-29 00:47:35 +01:00
|
|
|
kernel_types.h : .*only defines private constructors and has no friends.* : 51
|
|
|
|
Dbtup.hpp: .*only defines private constructors and has no friends.*
|
|
|
|
diskpage.hpp: .*only defines private constructors and has no friends.*
|
|
|
|
tuppage.hpp: .*only defines private constructors and has no friends.*
|
2007-02-23 12:13:55 +01:00
|
|
|
NdbScanOperation.cpp: .*unused variable '__align'.* : 1190-1200
|
|
|
|
sql_yacc.cc : .*label 'yyerrlab1' defined but not used.*
|
|
|
|
kernel_types.h : .*'struct Local_key' only defines private constructors and has no friends.*
|
|
|
|
lgman.hpp : .*'struct Lgman::Buffer_idx' only defines private constructors and has no friends.*
|
|
|
|
SchemaFile.hpp : .*'struct SchemaFile::TableEntry' only defines private constructors and has no friends.*
|
|
|
|
sql_yacc.cc : .*switch statement contains 'default' but no 'case' labels.*
|
|
|
|
|
|
|
|
#
|
|
|
|
# Things that can be ignored in InnoDB
|
|
|
|
#
|
|
|
|
pars0grm.tab.c: .*'yyerrorlab' : unreferenced label.*
|
2010-08-28 15:51:09 +02:00
|
|
|
pars0grm.c: 'yyerrorlab' : unreferenced label
|
2007-02-23 12:13:55 +01:00
|
|
|
_flex_tmp.c: .*not enough actual parameters for macro 'yywrap'.*
|
2010-08-28 15:51:09 +02:00
|
|
|
lexyy.c : not enough actual parameters for macro 'yywrap'
|
2007-02-27 19:06:37 +01:00
|
|
|
pars0lex.l: .*conversion from 'ulint' to 'int', possible loss of data.*
|
2009-09-03 15:20:22 +02:00
|
|
|
btr/btr0cur\.c: .*value computed is not used.*: 3175-3375
|
2010-04-01 11:40:11 +02:00
|
|
|
include/buf0buf\.ic: unused parameter .*mtr.*
|
2010-01-28 15:49:14 +01:00
|
|
|
fil/fil0fil\.c: pointer targets in passing argument.*differ in signedness
|
2009-09-03 15:20:22 +02:00
|
|
|
fil/fil0fil\.c: comparison between signed and unsigned : 3100-3199
|
2010-01-28 12:35:10 +01:00
|
|
|
fil/fil0fil\.c: unused parameter
|
|
|
|
log/log0recv\.c: unused variable
|
|
|
|
os/os0file\.c: unused parameter
|
2010-01-28 15:49:14 +01:00
|
|
|
os/os0file\.c: pointer targets in assignment differ in signedness
|
2010-01-28 12:35:10 +01:00
|
|
|
handler/i_s\.cc: unused variable
|
|
|
|
sync/sync0rw\.c: unused parameter
|
|
|
|
sync/sync0sync\.c: unused parameter
|
2010-01-28 15:49:14 +01:00
|
|
|
sync/sync0sync\.c: unused variable
|
|
|
|
ut/ut0ut\.c: ignoring return value of
|
2010-03-29 21:07:45 +02:00
|
|
|
srv/srv0srv\.c: value computed is not used
|
2010-04-07 17:26:30 +02:00
|
|
|
buf/buf0buf\.c: .*block_mutex.* might be used uninitialized
|
2010-05-14 13:56:14 +02:00
|
|
|
btr/btr0cur\.c: null argument where non-null required: 1800-3000
|
2010-05-27 19:18:31 +02:00
|
|
|
btr/btr0btr\.c: null argument where non-null required: 2500-3000
|
|
|
|
ibuf/ibuf0ibuf.c: null argument where non-null required: 700-1000
|
2010-08-28 15:51:09 +02:00
|
|
|
fsp0fsp\.c: result of 32-bit shift implicitly converted to 64 bits
|
2007-02-23 12:13:55 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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.*
|
|
|
|
|
2007-11-21 18:11:08 +01:00
|
|
|
#
|
|
|
|
# readline is not maintained by us
|
|
|
|
#
|
|
|
|
.*/cmd-line-utils/readline/.* : .*
|
2010-03-31 21:12:21 +02:00
|
|
|
readline\.c : unused parameter
|
|
|
|
term\.c : unused parameter
|
|
|
|
vi\.c : unused parameter
|
|
|
|
common\.c : unused parameter
|
2010-04-01 11:40:11 +02:00
|
|
|
term\.c : .*
|
2010-03-31 21:12:21 +02:00
|
|
|
|
2007-11-21 18:11:08 +01:00
|
|
|
|
2009-09-03 15:20:22 +02:00
|
|
|
#
|
|
|
|
# Ignore some warnings in libevent, which is not maintained by us.
|
|
|
|
#
|
|
|
|
.*/extra/libevent/.* : .*unused parameter.*
|
|
|
|
.*/extra/libevent/select\.c : .*comparison between signed and unsigned.* : 270-280
|
2010-08-04 20:36:11 +02:00
|
|
|
signal\.c : .*unused parameter.*
|
2009-09-03 15:20:22 +02:00
|
|
|
|
2010-01-28 12:35:10 +01:00
|
|
|
#
|
|
|
|
# Ignore warnings from system libraries
|
|
|
|
#
|
|
|
|
/usr/share/aclocal/audiofile.m4 : .*
|
|
|
|
|
2010-03-28 20:10:00 +02:00
|
|
|
#
|
|
|
|
# Ignore strict-aliasing warnings (for now)
|
|
|
|
#
|
|
|
|
.*: break strict-aliasing rules
|
|
|
|
|
2010-03-30 14:36:49 +02:00
|
|
|
#
|
|
|
|
# Ignore not important declaration warnings
|
|
|
|
#
|
|
|
|
.*: only defines private constructors and has no friends
|
|
|
|
|
2007-02-23 12:13:55 +01:00
|
|
|
#
|
|
|
|
# Ignore all conversion warnings on windows 64
|
|
|
|
# (Is safe as we are not yet supporting strings >= 2G)
|
|
|
|
#
|
|
|
|
.* : conversion from '__int64' to .*int'.*
|
2007-02-27 18:31:49 +01:00
|
|
|
.* : conversion from '__int64' to 'uint8'.*
|
|
|
|
.* : conversion from '__int64' to 'uint32'.*
|
|
|
|
.* : conversion from '__int64' to 'u.*long'.*
|
|
|
|
.* : conversion from '__int64' to 'long'.*
|
|
|
|
.* : conversion from '__int64' to 'off_t'.*
|
|
|
|
.* : conversion from '.*size_t' to .*int'.*
|
2007-02-27 10:27:04 +01:00
|
|
|
.* : conversion from '.*size_t' to 'TaoCrypt::word32'.*
|
|
|
|
.* : conversion from '.*size_t' to 'u.*long'.*
|
2007-02-27 18:31:49 +01:00
|
|
|
.* : conversion from '.*size_t' to 'uint32'.*
|
|
|
|
.* : conversion from '.*size_t' to 'off_t'.*
|
|
|
|
.* : conversion from '.*size_t' to 'size_s'.*
|
2007-05-31 16:45:22 +02:00
|
|
|
.* : conversion from '.*size_t' to 'DWORD'.*
|
|
|
|
.* : conversion from '.*size_t' to 'uLongf'.*
|
|
|
|
.* : conversion from '.*size_t' to 'UINT'.*
|
|
|
|
.* : conversion from '.*size_t' to 'uInt'.*
|
|
|
|
.* : conversion from '.*size_t' to 'uint16'.*
|
2010-08-11 12:55:54 +02:00
|
|
|
.* : The following environment variables were not found.*
|
2010-08-30 15:25:23 +02:00
|
|
|
.* : no public symbols found; archive member will be inaccessible
|
|
|
|
.* : DESCRIPTION statement not supported
|
2007-02-23 12:13:55 +01:00
|
|
|
|
2010-08-28 15:51:09 +02:00
|
|
|
# Ignore uninitialized local variables on windows
|
|
|
|
.* : uninitialized local variable .* used
|
|
|
|
|
2007-02-23 12:13:55 +01:00
|
|
|
#
|
|
|
|
# The following should be fixed by the ndb team
|
|
|
|
#
|
|
|
|
.*/ndb/.* : .*used uninitialized in this function.*
|
2007-02-27 10:27:04 +01:00
|
|
|
.*/ndb/.* : .*unused variable.*
|
|
|
|
.*/ndb/.* : .*defined but not used.*
|
2007-02-23 12:13:55 +01:00
|
|
|
|
2007-07-01 19:45:01 +02:00
|
|
|
#
|
|
|
|
# Maria warning that is ok in debug builds
|
|
|
|
#
|
|
|
|
storage/maria/ma_pagecache.c: .*'info_check_pin' defined but not used
|
|
|
|
|
2010-03-30 14:36:49 +02:00
|
|
|
#
|
|
|
|
# Pbxt
|
|
|
|
#
|
|
|
|
xaction_xt\.cc: may be used uninitialized in this function
|
2010-08-20 15:16:47 +02:00
|
|
|
lock_xt\.cc : uninitialized local variable .* used
|
|
|
|
restart_xt\.cc : dereferencing pointer .* does break strict-aliasing
|
2010-03-30 14:36:49 +02:00
|
|
|
|
2009-09-03 15:20:22 +02:00
|
|
|
#
|
|
|
|
# I think these are due to mix of C and C++.
|
|
|
|
#
|
|
|
|
storage/pbxt/ : typedef.*was ignored in this declaration
|
2010-01-28 15:49:14 +01:00
|
|
|
ha_pbxt\.cc : variable.*might be clobbered by.*longjmp
|
2010-06-16 00:00:51 +02:00
|
|
|
table_xt\.cc : variable.*might be clobbered by.*longjmp
|
2009-09-03 15:20:22 +02:00
|
|
|
|
2010-01-06 22:27:53 +01:00
|
|
|
#
|
|
|
|
# Yassl
|
|
|
|
include/runtime.hpp: .*pure_error.*
|
2010-03-10 11:32:14 +01:00
|
|
|
.*/extra/yassl/.*taocrypt/.*: comparison with string literal
|
2010-01-28 15:49:14 +01:00
|
|
|
.*/extra/yassl/taocrypt/src/blowfish\.cpp: array subscript is above array bounds
|
|
|
|
.*/extra/yassl/taocrypt/src/file\.cpp: ignoring return value
|
|
|
|
.*/extra/yassl/taocrypt/src/integer\.cpp: control reaches end of non-void function
|
2010-03-30 14:36:49 +02:00
|
|
|
mySTL/algorithm\.hpp: is used uninitialized in this function
|
2009-09-03 15:20:22 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Groff warnings on OpenSUSE.
|
|
|
|
#
|
|
|
|
.*/dbug/.*(groff|<standard input>) : .*
|
|
|
|
|
2007-02-23 12:13:55 +01:00
|
|
|
#
|
|
|
|
# Unexplanable (?) stuff
|
|
|
|
#
|
|
|
|
listener.cc : .*conversion from 'SOCKET' to 'int'.*
|
2007-02-27 10:27:04 +01:00
|
|
|
net_serv.cc : .*conversion from 'SOCKET' to 'int'.*
|
2007-05-31 16:45:22 +02:00
|
|
|
|
2010-08-06 08:36:09 +02:00
|
|
|
#
|
|
|
|
# Ignorable warnings from header files
|
|
|
|
#
|
|
|
|
backward_warning\.h : This file includes at least one
|
|
|
|
|
2007-05-31 16:45:22 +02:00
|
|
|
# allow a little moving space for the warning below
|
2010-03-29 21:07:45 +02:00
|
|
|
mi_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 560-600
|
|
|
|
ma_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 550-650
|
2007-02-27 18:31:49 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Wrong compiler warnings
|
|
|
|
#
|
|
|
|
.* : .*no matching operator delete found; memory will not be freed if initialization throws an exception.*
|
2010-03-29 21:07:45 +02:00
|
|
|
ctype-simple\.c : .*unary minus operator applied to unsigned type, result still unsigned.*
|
2009-10-03 22:13:58 +02:00
|
|
|
|
|
|
|
# Wrong warning due to GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478
|
2010-03-29 21:07:45 +02:00
|
|
|
regexec\.c : passing argument 3 of.*matcher.* discards qualifiers from pointer target type
|
|
|
|
libmysql\.c: passing argument 2 of .*memcpy.* discards qualifiers from pointer target type : 3000-4000
|
2010-04-01 11:08:42 +02:00
|
|
|
storage/xtradb/dict/dict0dict\.c : passing argument 1 of .*strcpy.* discards qualifiers from pointer target type : 2500-3500
|