1# Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 2# 3# This program is free software; you can redistribute it and/or modify 4# it under the terms of the GNU General Public License, version 2.0, 5# as published by the Free Software Foundation. 6# 7# This program is also distributed with certain software (including 8# but not limited to OpenSSL) that is licensed under separate terms, 9# as designated in a particular file or component or in included license 10# documentation. The authors of MySQL hereby grant you an additional 11# permission to link the program and your derivative works with the 12# separately licensed software that they have included with MySQL. 13# 14# This program is distributed in the hope that it will be useful, 15# but WITHOUT ANY WARRANTY; without even the implied warranty of 16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17# GNU General Public License, version 2.0, for more details. 18# 19# You should have received a copy of the GNU General Public License 20# along with this program; if not, write to the Free Software 21# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 22 23# 24# This file contains compiler warnings that can 25# be ignored for various reasons. 26# 27 28integer.cpp: .*control reaches end of non-void function.*: 1288-1427 29DictTabInfo.cpp : .*invalid access to non-static.* 30DictTabInfo.cpp : .*macro was used incorrectly.* 31DbdihMain.cpp : .*unused variable.* : 6666-7013 32DbtupExecQuery.cpp : .*unused variable.* : 1823 33kernel_types.h : .*only defines private constructors and has no friends.* : 51 34Dbtup.hpp: .*only defines private constructors and has no friends.* 35diskpage.hpp: .*only defines private constructors and has no friends.* 36tuppage.hpp: .*only defines private constructors and has no friends.* 37NdbScanOperation.cpp: .*unused variable '__align'.* : 1190-1200 38sql_yacc.cc : .*label 'yyerrlab1' defined but not used.* 39kernel_types.h : .*'struct Local_key' only defines private constructors and has no friends.* 40lgman.hpp : .*'struct Lgman::Buffer_idx' only defines private constructors and has no friends.* 41SchemaFile.hpp : .*'struct SchemaFile::TableEntry' only defines private constructors and has no friends.* 42sql_yacc.cc : .*switch statement contains 'default' but no 'case' labels.* 43 44# 45# Things that can be ignored in InnoDB 46# 47pars0grm.tab.c: .*'yyerrorlab' : unreferenced label.* 48_flex_tmp.c: .*not enough actual parameters for macro 'yywrap'.* 49pars0lex.l: .*conversion from 'ulint' to 'int', possible loss of data.* 50 51# 52# bdb is not critical to keep up to date 53# 54.*/bdb/.* : .*discards qualifiers from pointer target type.* 55.*/bdb/.* : .*unused parameter.* 56.*/bdb/.* : .*may be used uninitialized.* 57.*/bdb/.* : .*empty body in an if-statement.* 58db_vrfy.c : .*comparison is always false due to limited range of data type.* 59 60# 61# readline is not maintained by us 62# 63.*/cmd-line-utils/libedit/.* : .* 64 65# 66# Ignore all conversion warnings on windows 64 67# (Is safe as we are not yet supporting strings >= 2G) 68# 69.* : conversion from '__int64' to .*int'.* 70.* : conversion from '__int64' to 'uint8'.* 71.* : conversion from '__int64' to 'uint32'.* 72.* : conversion from '__int64' to 'u.*long'.* 73.* : conversion from '__int64' to 'long'.* 74.* : conversion from '__int64' to 'off_t'.* 75.* : conversion from '.*size_t' to .*int'.* 76.* : conversion from '.*size_t' to 'TaoCrypt::word32'.* 77.* : conversion from '.*size_t' to 'u.*long'.* 78.* : conversion from '.*size_t' to 'uint32'.* 79.* : conversion from '.*size_t' to 'off_t'.* 80.* : conversion from '.*size_t' to 'size_s'.* 81.* : conversion from '.*size_t' to 'DWORD'.* 82.* : conversion from '.*size_t' to 'uLongf'.* 83.* : conversion from '.*size_t' to 'UINT'.* 84.* : conversion from '.*size_t' to 'uInt'.* 85.* : conversion from '.*size_t' to 'uint16'.* 86 87# 88# The following should be fixed by the ndb team 89# 90.*/ndb/.* : .*used uninitialized in this function.* 91.*/ndb/.* : .*unused variable.* 92.*/ndb/.* : .*defined but not used.* 93 94# 95# Unexplanable (?) stuff 96# 97listener.cc : .*conversion from 'SOCKET' to 'int'.* 98net_serv.cc : .*conversion from 'SOCKET' to 'int'.* 99 100# allow a little moving space for the warning below 101mi_packrec.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 560-600 102 103# 104# Wrong compiler warnings 105# 106.* : .*no matching operator delete found; memory will not be freed if initialization throws an exception.* 107ctype-simple.c : .*unary minus operator applied to unsigned type, result still unsigned.* 108