Bug #11067 64-bit different size warnings

Submitted: 3 Jun 2005 9:31 Modified: 29 Sep 2008 21:57
Reporter: Tomas Ulin Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.0 OS:Linux (linux 64 bit amd gcc)
Assigned to: CPU Architecture:Any

[3 Jun 2005 9:31] Tomas Ulin
Description:
[ndbdev@dl145b mysql-4.0]$ tail -n 10000 -f make-64-bit.log | grep -i warning
bind.c:652: warning: comparison between signed and unsigned
display.c:1181: warning: comparison is always true due to limited range of data type
histfile.c:149: warning: comparison between signed and unsigned
histfile.c:242: warning: comparison between signed and unsigned
manager.c:249: warning: comparison is always false due to limited range of data type
my_thr_init.c:67: warning: implicit declaration of function `pthread_mutexattr_setkind_np'
manager.c:249: warning: comparison is always false due to limited range of data type
mysqlimport.c:245: warning: unused variable `local_file'
mysqlbinlog.cc:215: warning: comparison is always false due to limited range of data type
mysqlbinlog.cc:674: warning: comparison is always false due to limited range of data type
my_thr_init.c:67: warning: implicit declaration of function `pthread_mutexattr_setkind_np'
/home/ndbdev/tomas/mysql-4.0/mysys/my_tempnam.c:129: warning: the use of `tempnam' is dangerous, better use `mkstemp'
regexec.c:19: warning: 'nope' defined but not used
main.c:81: warning: int format, different type arg (arg 4)
main.c:81: warning: int format, different type arg (arg 5)
main.c:99: warning: int format, different type arg (arg 4)
main.c:99: warning: int format, different type arg (arg 5)
main.c:235: warning: int format, different type arg (arg 7)
main.c:266: warning: int format, different type arg (arg 7)
/home/ndbdev/tomas/mysql-4.0/mysys/my_tempnam.c:129: warning: the use of `tempnam' is dangerous, better use `mkstemp'
os0file.c:1042: warning: comparison between signed and unsigned
eval0eval.c:387: warning: passing arg 2 of `ut_memcmp' discards qualifiers from pointer target type
log0recv.c:1365: warning: 'data_file' might be used uninitialized in this function
/usr/share/bison.simple:367: warning: passing arg 1 of `yyerror' discards qualifiers from pointer target type
/usr/share/bison.simple:654: warning: passing arg 1 of `yyerror' discards qualifiers from pointer target type
/usr/share/bison.simple:294: warning: 'yyval' might be used uninitialized in this function
myisam_ftdump.c:69: warning: suggest parentheses around assignment used as truth value
test-sslserver.c:133: warning: passing arg 3 of `accept' from incompatible pointer type
item_timefunc.cc:1026: warning: comparison is always false due to limited range of data type
mysqld.cc:2028: warning: cast to pointer from integer of different size
libmysqld.c:100: warning: comparison is always false due to limited range of data type
../sql/mysqld.cc:2028: warning: cast to pointer from integer of different size
lib_sql.cc:186: warning: comparison is always false due to limited range of data type
item_timefunc.cc:1026: warning: comparison is always false due to limited range of data type
sql_show.cc:1448: warning: enumeration value `SHOW_SLAVE_RUNNING' not handled in switch
cp: warning: source file `../innobase/srv/libsrv.a' specified more than once
cp: warning: source file `../innobase/usr/libusr.a' specified more than once
cp: warning: source file `../innobase/ibuf/libibuf.a' specified more than once
cp: warning: source file `../innobase/sync/libsync.a' specified more than once
cp: warning: source file `../innobase/ut/libut.a' specified more than once

How to repeat:
compile on 64 bit
[12 Jul 2005 4:42] Jorge del Conde
Verified w/FC3 & AMD64
[29 Sep 2008 21:57] Konstantin Osipov
Whatever warnings were there in 2005, we're not going to fix them.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.