php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38873 APC conflicting types for apc_zend_init() and apc_zend_shutdown()
Submitted: 2006-09-18 21:12 UTC Modified: 2006-09-18 21:19 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mv at binarysec dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.0RC4 OS: Linux 2.4 Deb unstable
Private report: No CVE-ID: None
 [2006-09-18 21:12 UTC] mv at binarysec dot com
Description:
------------
/pecl/apc/apc_zend.c:241: error: conflicting types for 'apc_zend_init'
/pecl/apc/apc_zend.h:41: error: previous declaration of 'apc_zend_init' was here
/pecl/apc/apc_zend.c:242: error: conflicting types for 'apc_zend_shutdown'
/pecl/apc/apc_zend.h:42: error: previous declaration of 'apc_zend_shutdown' was here


Reproduce code:
---------------
./configure  --with-php-config=/.../php-config --enable-apc --disable-apc-mmap --enable-apc-sem
make ;)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-18 21:14 UTC] mv at binaryseC dot com
vim apc_zend.c +241
replace 'void' by TSRMLS_D on each apc_zend_init()/shutdown()
 [2006-09-18 21:19 UTC] tony2001@php.net
Please report PECL issues to PECL bug database: http://pecl.php.net/package/APC
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Aug 14 02:00:03 2025 UTC