From: ed at cubelike dot com Operating system: Linux 2.4.20-021 PHP version: 5.1.4 PHP Bug Type: Compile Warning Bug description: Compile warnings from 'ext/standard/datetime.c'
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 bug report at http://bugs.php.net/?id=37449&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37449&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37449&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37449&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37449&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37449&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37449&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37449&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37449&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37449&r=support Expected behavior: http://bugs.php.net/fix.php?id=37449&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37449&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37449&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37449&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37449&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37449&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37449&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37449&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37449&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37449&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37449&r=mysqlcfg
