#38485 [Opn->Csd]: bz2 extension does not compile with current GCC versions

From: Date: Thu, 17 Aug 2006 20:46:55 +0000
Subject: #38485 [Opn->Csd]: bz2 extension does not compile with current GCC versions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100913@lists.php.net to get a copy of this message
 ID:               38485
 Updated by:       tony2001@php.net
 Reported By:      judas dot iscariote at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Bzip2 Related
 Operating System: linux
 PHP Version:      5.2.0RC2
 New Comment:

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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2006-08-17 20:27:26] judas dot iscariote at gmail dot com

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 this bug report at http://bugs.php.net/?id=38485&edit=1


Thread (2 messages)

« previous php.bugs (#100913) next »