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:
Mleh, I've not used gcc in .. ugh .. years. javac has been my compiler of choice -- yes Java, not C[++] so I really don't think I'm the person to be harking about looking for this. Regardless, maybe someone else can look into it. Previous Comments: ------------------------------------------------------------------------ [2006-05-15 22:25:50] [EMAIL PROTECTED] But we would welcome a patch, of course. ------------------------------------------------------------------------ [2006-05-15 22:24:49] [EMAIL PROTECTED] 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