php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58966 Compilation error in php_apc.c:959
Submitted: 2009-11-27 07:50 UTC Modified: 2009-12-12 23:54 UTC
From: bartosz dot cisek at nasza-klasa dot pl Assigned:
Status: Not a bug Package: APC (PECL)
PHP Version: 5.3.0 OS: Debian 5.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
38 - 32 = ?
Subscribe to this entry?

 
 [2009-11-27 07:50 UTC] bartosz dot cisek at nasza-klasa dot pl
Description:
------------
Compilation error when using with php 5.3.0. Same result with Intel ICC and gcc 4.3.x. Stable branch 3.0.19 still not patched. 

Patched version marked as beta. 

Actual result:
--------------
 /opt/intel/Compiler/11.1/059/bin/intel64/icc -I. -I/root/bartek/apc-build/APC_3_0 -DPHP_ATOM_INC -I/root/bartek/apc-build/APC_3_0/include -I/root/bartek/apc-build/APC_3_0/main -I/root/bartek/apc-build/APC_3_0 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/bartek/apc-build/APC_3_0/php_apc.c  -DPIC -o .libs/php_apc.o
/root/bartek/apc-build/APC_3_0/php_apc.c(959): error: more than one storage class may not be specified
  ZEND_BEGIN_ARG_INFO(php_apc_fetch_arginfo, 0)
  ^

compilation aborted for /root/bartek/apc-build/APC_3_0/php_apc.c (code 2)
make: *** [php_apc.lo] Błąd 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-12 23:54 UTC] shire@php.net
If I understand your bug report correctly, you're stating that a past version still has this problem and the latest version works but is marked as beta?  

If this is correct then:
1) Old versions won't have patches placed on top of them and then re-released with the same version

2) a non-beta release is in the works so you'll either need to run the "beta" release to get this fix for now or wait until the stable comes out.  our current Beta shouldn't be that unstable IMHO.

3) Marking this as bogus as there's no un-fixed bug here, hence nothing to do but release our next release as expected. re-open if I missed something ;-)
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Sep 19 09:03:37 2021 UTC