~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to support-files/compiler_warnings.supp

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# This file contains compiler warnings that can
 
3
# be ignored for various reasons.
 
4
#
 
5
 
 
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.*
 
22
 
 
23
#
 
24
# Things that can be ignored in InnoDB
 
25
#
 
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
 
52
 
 
53
#
 
54
# bdb is not critical to keep up to date
 
55
#
 
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.*
 
61
 
 
62
#
 
63
# readline is not maintained by us
 
64
#
 
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
 
70
term\.c : .*
 
71
 
 
72
#
 
73
# Ignore some warnings in libevent, which is not maintained by us.
 
74
#
 
75
.*/extra/libevent/.* : .*unused parameter.*
 
76
.*/extra/libevent/select\.c : .*comparison between signed and unsigned.* : 270-280
 
77
signal\.c : .*unused parameter.*
 
78
 
 
79
#
 
80
# Ignore warnings from system libraries
 
81
#
 
82
/usr/share/aclocal/audiofile.m4 : .*
 
83
 
 
84
#
 
85
# Ignore strict-aliasing warnings (for now)
 
86
#
 
87
.*: break strict-aliasing rules
 
88
 
 
89
#
 
90
# Ignore not important declaration warnings
 
91
#
 
92
.*: only defines private constructors and has no friends
 
93
 
 
94
#
 
95
# Ignore all conversion warnings on windows 64
 
96
# (Is safe as we are not yet supporting strings >= 2G)
 
97
#
 
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
 
118
 
 
119
# Ignore uninitialized local variables on windows
 
120
.* : uninitialized local variable .* used
 
121
 
 
122
#
 
123
# The following should be fixed by the ndb team
 
124
#
 
125
.*/ndb/.* : .*used uninitialized in this function.*
 
126
.*/ndb/.* : .*unused variable.*
 
127
.*/ndb/.* : .*defined but not used.*
 
128
 
 
129
#
 
130
# Aria warning that is ok in debug builds
 
131
#
 
132
storage/maria/ma_pagecache.c: .*'info_check_pin' defined but not used
 
133
 
 
134
#
 
135
# Pbxt
 
136
#
 
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
 
140
 
 
141
#
 
142
# oqgraph errors that are hard to fix
 
143
#
 
144
oqgraph/graphcore\.cc : may be used uninitialized in this function
 
145
 
 
146
#
 
147
# I think these are due to mix of C and C++.
 
148
#
 
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
 
152
 
 
153
#
 
154
# Yassl
 
155
#
 
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
 
163
 
 
164
#
 
165
# Groff warnings on OpenSUSE.
 
166
#
 
167
.*/dbug/.*(groff|<standard input>) : .*
 
168
.*groff.* : vertical spacing must be greater than
 
169
 
 
170
#
 
171
# Warnings on OpenSolaris
 
172
#
 
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
 
176
 
 
177
#
 
178
# Unexplanable (?) stuff
 
179
#
 
180
listener.cc : .*conversion from 'SOCKET' to 'int'.*
 
181
net_serv.cc : .*conversion from 'SOCKET' to 'int'.*
 
182
 
 
183
#
 
184
# Ignorable warnings from header files
 
185
#
 
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
 
188
 
 
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
 
192
 
 
193
#
 
194
# Wrong compiler warnings
 
195
#
 
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.*
 
198
 
 
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
 
205
 
 
206
#
 
207
# Strange things from autoconf that is probably safe to ignore
 
208
#
 
209
 
 
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