From: judas dot iscariote at gmail dot com Operating system: linux PHP version: 5.2.0RC2 PHP Bug Type: Bzip2 Related Bug description: bz2 extension does not compile with current GCC versions
Description: ------------ bz2 extension fails to compile in current gcc 4.1.x series Reproduce code: --------------- compile it as a shared extension Expected result: ---------------- no errors, as always. Actual result: -------------- /usr/src/packages/BUILD/php-5.2.0RC2/ext/bz2/bz2.c:181: error: static declaration of 'php_stream_bz2io_ops' follows non-static declaration /usr/src/packages/BUILD/php-5.2.0RC2/ext/bz2/php_bz2.h:55: error: previous declaration of 'php_stream_bz2io_ops' was here make: *** [ext/bz2/bz2.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=38485&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38485&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38485&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38485&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38485&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38485&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38485&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38485&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38485&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38485&r=support Expected behavior: http://bugs.php.net/fix.php?id=38485&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38485&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38485&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38485&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38485&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38485&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38485&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38485&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38485&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38485&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38485&r=mysqlcfg