php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27845 64bit compile warnings
Submitted: 2004-04-02 15:33 UTC Modified: 2004-04-02 16:05 UTC
From: asloan at antarctica dot net Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.3.5 OS: Mandrake 9.2 AMD64
Private report: No CVE-ID: None
 [2004-04-02 15:33 UTC] asloan at antarctica dot net
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).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-02 16:05 UTC] pollita@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 19:01:28 2024 UTC