php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62094 compile error with php 5.4.3
Submitted: 2012-05-21 12:38 UTC Modified: 2012-06-12 19:06 UTC
From: HMWiesinger at gmx dot at Assigned: gopalv (profile)
Status: Closed Package: inclued (PECL)
PHP Version: 5.4.3 OS: Linux
Private report: No CVE-ID: None
 [2012-05-21 12:38 UTC] HMWiesinger at gmx dot at
Description:
------------
When trying to build inclued 0.1.2 against php 5.4.3 I get the following error:

cc -I. -I/usr/src/sbo_tmp/inclued-0.1.2 -DPHP_ATOM_INC -
I/usr/src/sbo_tmp/inclued-0.1.2/include -I/usr/src/sbo_tmp/inclued-0.1.2/main -
I/usr/src/sbo_tmp/inclued-0.1.2 -I/usr/include/php -I/usr/include/php/main -
I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -
I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fPIC -c 
/usr/src/sbo_tmp/inclued-0.1.2/inclued.c  -fPIC -DPIC -o .libs/inclued.o
/usr/src/sbo_tmp/inclued-0.1.2/inclued.c: In function ‘copy_class_table’:
/usr/src/sbo_tmp/inclued-0.1.2/inclued.c:111:3: warning: passing argument 4 of 
‘add_assoc_stringl_ex’ discards ‘const’ qualifier from pointer target type 
[enabled by default]
In file included from /usr/include/php/main/php.h:38:0,
                 from /usr/src/sbo_tmp/inclued-0.1.2/php_inclued.h:24,
                 from /usr/src/sbo_tmp/inclued-0.1.2/inclued.c:30:
/usr/include/php/Zend/zend_API.h:375:14: note: expected ‘char *’ but argument is 
of type ‘const char *’
/usr/src/sbo_tmp/inclued-0.1.2/inclued.c:116:70: error: ‘zend_class_entry’ has 
no member named ‘filename’
/usr/src/sbo_tmp/inclued-0.1.2/inclued.c:117:60: error: ‘zend_class_entry’ has 
no member named ‘line_start’
/usr/src/sbo_tmp/inclued-0.1.2/inclued.c:123:4: warning: passing argument 4 of 
‘add_assoc_stringl_ex’ discards ‘const’ qualifier from pointer target type 
[enabled by default]
In file included from /usr/include/php/main/php.h:38:0,
                 from /usr/src/sbo_tmp/inclued-0.1.2/php_inclued.h:24,
                 from /usr/src/sbo_tmp/inclued-0.1.2/inclued.c:30:
/usr/include/php/Zend/zend_API.h:375:14: note: expected ‘char *’ but argument is 
of type ‘const char *’
/usr/src/sbo_tmp/inclued-0.1.2/inclued.c:130:81: error: ‘struct 
_zend_class_entry’ has no member named ‘filename’
/usr/src/sbo_tmp/inclued-0.1.2/inclued.c:131:71: error: ‘struct 
_zend_class_entry’ has no member named ‘line_start’
make: *** [inclued.lo] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-22 22:24 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: gopalv
 [2012-06-12 19:06 UTC] felipe@php.net
This bug has been fixed in SVN.

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/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

A newer version has been released.
 [2012-06-12 19:06 UTC] felipe@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC