#37449 [Opn]: Compile warnings from 'ext/standard/datetime.c'
| From: | ed at cubelike dot com | Date: | Mon, 15 May 2006 18:32:11 +0000 |
| Subject: | #37449 [Opn]: Compile warnings from 'ext/standard/datetime.c' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97131@lists.php.net to get a copy of this message | ||
ID: 37449
User updated by: ed at cubelike dot com
Reported By: ed at cubelike dot com
Status: Open
Bug Type: Compile Warning
Operating System: Linux 2.4.20-021
PHP Version: 5.1.4
New Comment:
When compiling PGP <-- should be PHP; sorry!
Previous Comments:
------------------------------------------------------------------------
[2006-05-15 18:31:25] ed at cubelike dot com
Description:
------------
When compiling PGP I see the following two warnings:
/home/updateuser/sources/php-5.1.4/ext/standard/datetime.c: In function
`zif_strptime':
/home/updateuser/sources/php-5.1.4/ext/standard/datetime.c:104:
warning: assignment makes pointer from integer without a cast
Reproduce code:
---------------
At Shell, in php-5.1.4 dir:
./configure --prefix=/apps/php5 --with-bz2 --with-mysql=/apps/mysql
--with-apxs2=/apps/httpd/bin/apxs --with-libxml-dir=/apps/libxml2
--with-zlib=/apps/zlib --with-config-file-path=/apps/php5/config
make
Expected result:
----------------
Compiles cleanly (without any errors or warnings).
Actual result:
--------------
Compiles OK, but generates the following warnings:
/home/updateuser/sources/php-5.1.4/ext/standard/datetime.c: In function
`zif_strptime':
/home/updateuser/sources/php-5.1.4/ext/standard/datetime.c:104:
warning: assignment makes pointer from integer without a cast
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37449&edit=1