2
# This file contains compiler warnings that can
3
# be ignored for various reasons.
6
integer.cpp: .*control reaches end of non-void function.*: 1288-1427
7
integer.cpp: .*no return statement in function returning non-void.*: 1288-1427
8
DictTabInfo.cpp : .*invalid access to non-static.*
9
DictTabInfo.cpp : .*macro was used incorrectly.*
10
DbdihMain.cpp : .*unused variable.* : 6666-7013
11
DbtupExecQuery.cpp : .*unused variable.* : 1823
12
kernel_types.h : .*only defines private constructors and has no friends.* : 51
13
Dbtup.hpp: .*only defines private constructors and has no friends.*
14
diskpage.hpp: .*only defines private constructors and has no friends.*
15
tuppage.hpp: .*only defines private constructors and has no friends.*
16
NdbScanOperation.cpp: .*unused variable '__align'.* : 1190-1200
17
sql_yacc.cc : .*label 'yyerrlab1' defined but not used.*
18
kernel_types.h : .*'struct Local_key' only defines private constructors and has no friends.*
19
lgman.hpp : .*'struct Lgman::Buffer_idx' only defines private constructors and has no friends.*
20
SchemaFile.hpp : .*'struct SchemaFile::TableEntry' only defines private constructors and has no friends.*
21
sql_yacc.cc : .*switch statement contains 'default' but no 'case' labels.*
24
# Things that can be ignored in InnoDB
26
pars0grm.tab.c: .*'yyerrorlab' : unreferenced label.*
27
pars0grm.c: 'yyerrorlab' : unreferenced label
28
_flex_tmp.c: .*not enough actual parameters for macro 'yywrap'.*
29
lexyy.c : not enough actual parameters for macro 'yywrap'
30
pars0lex.l: .*conversion from 'ulint' to 'int', possible loss of data.*
31
btr/btr0cur\.c: .*value computed is not used.*: 3175-3375
32
include/buf0buf\.ic: unused parameter .*mtr.*
33
fil/fil0fil\.c: pointer targets in passing argument.*differ in signedness
34
fil/fil0fil\.c: comparison between signed and unsigned : 3100-3199
35
fil/fil0fil\.c: unused parameter
36
log/log0recv\.c: unused variable
37
os/os0file\.c: unused parameter
38
os/os0file\.c: pointer targets in assignment differ in signedness
39
handler/i_s\.cc: unused variable
40
sync/sync0rw\.c: unused parameter
41
sync/sync0sync\.c: unused parameter
42
sync/sync0sync\.c: unused variable
43
ut/ut0ut\.c: ignoring return value of
44
srv/srv0srv\.c: value computed is not used
45
buf/buf0buf\.c: .*block_mutex.* might be used uninitialized
46
btr/btr0cur\.c: null argument where non-null required: 1800-3000
47
btr/btr0btr\.c: null argument where non-null required: 2500-3000
48
ibuf/ibuf0ibuf.c: null argument where non-null required: 700-1000
49
fsp0fsp\.c: result of 32-bit shift implicitly converted to 64 bits
50
log/log0log\.c : passing arg 1 of `atomic_add_64_nv' from incompatible pointer type
51
log/log0online\.c : passing arg 1 of `atomic_add_64_nv' from incompatible pointer type
54
# bdb is not critical to keep up to date
56
.*/bdb/.* : .*discards qualifiers from pointer target type.*
57
.*/bdb/.* : .*unused parameter.*
58
.*/bdb/.* : .*may be used uninitialized.*
59
.*/bdb/.* : .*empty body in an if-statement.*
60
db_vrfy.c : .*comparison is always false due to limited range of data type.*
63
# readline is not maintained by us
65
.*/cmd-line-utils/readline/.* : .*
66
readline\.c : unused parameter
67
term\.c : unused parameter
68
vi\.c : unused parameter
69
common\.c : unused parameter
73
# Ignore some warnings in libevent, which is not maintained by us.
75
.*/extra/libevent/.* : .*unused parameter.*
76
.*/extra/libevent/select\.c : .*comparison between signed and unsigned.* : 270-280
77
signal\.c : .*unused parameter.*
80
# Ignore warnings from system libraries
82
/usr/share/aclocal/audiofile.m4 : .*
85
# Ignore strict-aliasing warnings (for now)
87
.*: break strict-aliasing rules
90
# Ignore not important declaration warnings
92
.*: only defines private constructors and has no friends
95
# Ignore all conversion warnings on windows 64
96
# (Is safe as we are not yet supporting strings >= 2G)
98
.* : conversion from '__int64' to .*int'.*
99
.* : conversion from '__int64' to 'uint8'.*
100
.* : conversion from '__int64' to 'uint32'.*
101
.* : conversion from '__int64' to 'u.*long'.*
102
.* : conversion from '__int64' to 'long'.*
103
.* : conversion from '__int64' to 'off_t'.*
104
.* : conversion from '.*size_t' to .*int'.*
105
.* : conversion from '.*size_t' to 'TaoCrypt::word32'.*
106
.* : conversion from '.*size_t' to 'u.*long'.*
107
.* : conversion from '.*size_t' to 'uint32'.*
108
.* : conversion from '.*size_t' to 'off_t'.*
109
.* : conversion from '.*size_t' to 'size_s'.*
110
.* : conversion from '.*size_t' to 'DWORD'.*
111
.* : conversion from '.*size_t' to 'uLongf'.*
112
.* : conversion from '.*size_t' to 'UINT'.*
113
.* : conversion from '.*size_t' to 'uInt'.*
114
.* : conversion from '.*size_t' to 'uint16'.*
115
.* : The following environment variables were not found.*
116
.* : no public symbols found; archive member will be inaccessible
117
.* : DESCRIPTION statement not supported
119
# Ignore uninitialized local variables on windows
120
.* : uninitialized local variable .* used
123
# The following should be fixed by the ndb team
125
.*/ndb/.* : .*used uninitialized in this function.*
126
.*/ndb/.* : .*unused variable.*
127
.*/ndb/.* : .*defined but not used.*
130
# Aria warning that is ok in debug builds
132
storage/maria/ma_pagecache.c: .*'info_check_pin' defined but not used
137
xaction_xt\.cc: may be used uninitialized in this function
138
lock_xt\.cc : uninitialized local variable .* used
139
restart_xt\.cc : dereferencing pointer .* does break strict-aliasing
142
# oqgraph errors that are hard to fix
144
oqgraph/graphcore\.cc : may be used uninitialized in this function
147
# I think these are due to mix of C and C++.
149
storage/pbxt/ : typedef.*was ignored in this declaration
150
ha_pbxt\.cc : variable.*might be clobbered by.*longjmp
151
table_xt\.cc : variable.*might be clobbered by.*longjmp
156
include/runtime.hpp: .*pure_error.*
157
.*/extra/yassl/.*taocrypt/.*: comparison with string literal
158
.*/extra/yassl/taocrypt/src/blowfish\.cpp: array subscript is above array bounds
159
.*/extra/yassl/taocrypt/src/file\.cpp: ignoring return value
160
.*/extra/yassl/taocrypt/src/integer\.cpp: control reaches end of non-void function
161
mySTL/algorithm\.hpp: is used uninitialized in this function
162
include/pwdbased\.hpp: comparison of unsigned expression
165
# Groff warnings on OpenSUSE.
167
.*/dbug/.*(groff|<standard input>) : .*
168
.*groff.* : vertical spacing must be greater than
171
# Warnings on OpenSolaris
173
.*/my_config\.h : _FILE_OFFSET_BITS
174
/usr/include/sys/feature_tests.h : this is the location of the previous definition
175
.*auth_pam\.c : initialization from incompatible pointer type : 100-200
178
# Unexplanable (?) stuff
180
listener.cc : .*conversion from 'SOCKET' to 'int'.*
181
net_serv.cc : .*conversion from 'SOCKET' to 'int'.*
184
# Ignorable warnings from header files
186
backward_warning\.h : This file includes at least one
187
/usr/include/i386-linux-gnu/bits/string3\.h: memset used with constant zero length parameter
189
# allow a little moving space for the warning below
190
mi_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 560-600
191
ma_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 550-650
194
# Wrong compiler warnings
196
.* : .*no matching operator delete found; memory will not be freed if initialization throws an exception.*
197
ctype-simple\.c : .*unary minus operator applied to unsigned type, result still unsigned.*
199
# Wrong warning due to GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478
200
regexec\.c : passing argument 3 of.*matcher.* discards qualifiers from pointer target type
201
libmysql\.c: passing argument 2 of .*memcpy.* discards qualifiers from pointer target type : 3000-4000
202
storage/.*/dict/dict0dict\.c : passing argument 1 of .*strcpy.* discards qualifiers from pointer target type : 2500-3500
203
storage/.*/sync/sync0rw\.c : passing argument 1 of .*memset.* discards qualifiers from pointer target type : 200-300
204
storage/.*/btr/btr0sea\.c : passing argument 2 of .*btr_cur_position.* discards qualifiers from pointer
207
# Strange things from autoconf that is probably safe to ignore
210
configure.in : warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
211
configure.in : config/ac-macros/character_sets.m4.*prefer named diversions
212
warning: File listed twice