|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56479 Compile error version 0.5
Submitted: 2005-08-05 08:43 UTC Modified: 2005-08-05 18:52 UTC
From: bolk at hitv dot ru Assigned:
Status: Closed Package: colorer (PECL)
PHP Version: 5.0.3 OS: Linux Fedora Core 4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bolk at hitv dot ru
New email:
PHP Version: OS:


 [2005-08-05 08:43 UTC] bolk at hitv dot ru
GNU Make 3.80
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

Reproduce code:
phpize && ./configure && make

Expected result:
config.status: creating config.h
/bin/sh /usr/src/colorer-0.5/libtool --mode=compile g++  -I. -I/usr/src/colorer-0.5 -DPHP_ATOM_INC -I/usr/src/colorer-0.5/include -I/usr/src/colorer-0.5/main -I/usr/src/colorer-0.5 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/include/colorer  -I/usr/include/colorer -DHAVE_CONFIG_H     -c /usr/src/colorer-0.5/colorer.cpp -o colorer.lo 
g++ -I. -I/usr/src/colorer-0.5 -DPHP_ATOM_INC -I/usr/src/colorer-0.5/include -I/usr/src/colorer-0.5/main -I/usr/src/colorer-0.5 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/include/colorer -I/usr/include/colorer -DHAVE_CONFIG_H -c /usr/src/colorer-0.5/colorer.cpp  -fPIC -DPIC -o colorer.lo
/usr/src/colorer-0.5/colorer.cpp: In function `int colorer_do_highlight(int, zval*, zval*, int, colorer_t*, LineStore*, String*, String*, char*, zval*)':
/usr/src/colorer-0.5/colorer.cpp:623: error: invalid conversion from `const char*' to `wchar'
/usr/src/colorer-0.5/colorer.cpp:623: error:   initializing argument 1 of `StringBuffer& StringBuffer::append(wchar)'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-05 18:52 UTC] demenev at gmail dot com
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 25 13:03:36 2021 UTC