|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38485 bz2 extension does not compile with current GCC versions
Submitted: 2006-08-17 20:27 UTC Modified: 2006-08-17 20:46 UTC
From: judas dot iscariote at gmail dot com Assigned:
Status: Closed Package: Bzip2 Related
PHP Version: 5.2.0RC2 OS: linux
Private report: No CVE-ID: None
 [2006-08-17 20:27 UTC] judas dot iscariote at gmail dot com
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-17 20:46 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Mar 04 08:01:25 2021 UTC