#37449 [Opn]: Compile warnings from 'ext/standard/datetime.c'
| From: | tony2001@php.net | Date: | Mon, 15 May 2006 22:25:50 +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-97151@lists.php.net to get a copy of this message | ||
ID: 37449
Updated by: tony2001@php.net
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:
But we would welcome a patch, of course.
Previous Comments:
------------------------------------------------------------------------
[2006-05-15 22:24:49] tony2001@php.net
Actually I doubt anybody is going to fix it.
It's caused by the ugly mess in the GLIBC and I don't think this
warning worth spending a day or two on figuring out which #defines are
required to make GLIBC happy.
------------------------------------------------------------------------
[2006-05-15 18:32:11] ed at cubelike dot com
When compiling PGP <-- should be PHP; sorry!
------------------------------------------------------------------------
[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