From: asloan at antarctica dot net Operating system: Mandrake 9.2 AMD64 PHP version: 4.3.5 PHP Bug Type: *General Issues Bug description: 64bit compile warnings
Description: ------------ Compile warnings on 64bit Linux (Opteron) platform: Thank you for using PHP. /home/asloan/php-4.3.5/ext/standard/exec.c: In function `proc_open_rsrc_dtor': /home/asloan/php-4.3.5/ext/standard/exec.c:600: warning: cast from pointer to integer of different size /home/asloan/php-4.3.5/ext/standard/exec.c: In function `zif_proc_open': /home/asloan/php-4.3.5/ext/standard/exec.c:1019: warning: cast to pointer from integer of different size /home/asloan/php-4.3.5/ext/standard/file.c: In function `zif_fgetcsv': /home/asloan/php-4.3.5/ext/standard/file.c:2308: warning: passing arg 4 of `_php_stream_get_line' from incompatible pointer type /home/asloan/php-4.3.5/ext/standard/file.c:2373: warning: passing arg 4 of `_php_stream_get_line' from incompatible pointer type /home/asloan/php-4.3.5/ext/standard/var_unserializer.c: In function `php_var_unserialize': /home/asloan/php-4.3.5/ext/standard/var_unserializer.c:308: warning: comparison is always false due to limited range of data type ext/mysql/libmysql/my_tempnam.lo(.text+0x47): In function `my_tempnam': /home/asloan/php-4.3.5/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam' is dangerous, better use `mkstemp' Build complete. (It is safe to ignore warnings about tempnam and tmpnam). -- Edit bug report at http://bugs.php.net/?id=27845&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27845&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27845&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27845&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27845&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27845&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27845&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27845&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27845&r=support Expected behavior: http://bugs.php.net/fix.php?id=27845&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27845&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27845&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27845&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27845&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27845&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27845&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27845&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27845&r=float