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
DictTabInfo.cpp : .*invalid access to non-static.*
8
DictTabInfo.cpp : .*macro was used incorrectly.*
9
DbdihMain.cpp : .*unused variable.* : 6666-7013
10
DbtupExecQuery.cpp : .*unused variable.* : 1823
11
kernel_types.h : .*only defines private constructors and has no friends.* : 51
12
Dbtup.hpp: .*only defines private constructors and has no friends.*
13
diskpage.hpp: .*only defines private constructors and has no friends.*
14
tuppage.hpp: .*only defines private constructors and has no friends.*
15
NdbScanOperation.cpp: .*unused variable '__align'.* : 1190-1200
16
sql_yacc.cc : .*label 'yyerrlab1' defined but not used.*
17
kernel_types.h : .*'struct Local_key' only defines private constructors and has no friends.*
18
lgman.hpp : .*'struct Lgman::Buffer_idx' only defines private constructors and has no friends.*
19
SchemaFile.hpp : .*'struct SchemaFile::TableEntry' only defines private constructors and has no friends.*
20
sql_yacc.cc : .*switch statement contains 'default' but no 'case' labels.*
23
# Things that can be ignored in InnoDB
25
pars0grm.tab.c: .*'yyerrorlab' : unreferenced label.*
26
_flex_tmp.c: .*not enough actual parameters for macro 'yywrap'.*
27
pars0lex.l: .*conversion from 'ulint' to 'int', possible loss of data.*
30
# readline is not maintained by us
32
.*/cmd-line-utils/readline/.* : .*
35
# Ignore all conversion warnings on windows 64
36
# (Is safe as we are not yet supporting strings >= 2G)
38
.* : conversion from '__int64' to .*int'.*
39
.* : conversion from '__int64' to 'uint8'.*
40
.* : conversion from '__int64' to 'uint32'.*
41
.* : conversion from '__int64' to 'u.*long'.*
42
.* : conversion from '__int64' to 'long'.*
43
.* : conversion from '__int64' to 'off_t'.*
44
.* : conversion from '.*size_t' to .*int'.*
45
.* : conversion from '.*size_t' to 'TaoCrypt::word32'.*
46
.* : conversion from '.*size_t' to 'u.*long'.*
47
.* : conversion from '.*size_t' to 'uint32'.*
48
.* : conversion from '.*size_t' to 'off_t'.*
49
.* : conversion from '.*size_t' to 'size_s'.*
50
.* : conversion from '.*size_t' to 'DWORD'.*
51
.* : conversion from '.*size_t' to 'uLongf'.*
52
.* : conversion from '.*size_t' to 'UINT'.*
53
.* : conversion from '.*size_t' to 'uInt'.*
54
.* : conversion from '.*size_t' to 'uint16'.*
57
# The following should be fixed by the ndb team
59
.*/ndb/.* : .*used uninitialized in this function.*
60
.*/ndb/.* : .*unused variable.*
61
.*/ndb/.* : .*defined but not used.*
64
# Unexplanable (?) stuff
66
listener.cc : .*conversion from 'SOCKET' to 'int'.*
67
net_serv.cc : .*conversion from 'SOCKET' to 'int'.*
69
# allow a little moving space for the warning below
70
mi_packrec.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 560-600
73
# Wrong compiler warnings
75
.* : .*no matching operator delete found; memory will not be freed if initialization throws an exception.*
76
ctype-simple.c : .*unary minus operator applied to unsigned type, result still unsigned.*
82
.*/extra/libevent/.* : .*comparison between signed and unsigned.*
83
.*/extra/libevent/.* : .*unused parameter.*
84
.*/extra/libevent/.* : .*empty body in an if-statement.*
85
.*/extra/libevent/.* : .*comparison of unsigned expression >= 0 is always true.*
86
.*/extra/libevent/.* : .*assignment discards qualifiers from pointer target type.*
87
.*/extra/libevent/.* : .*initialization discards qualifiers from pointer target type.*