php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bolk at hitv dot ru
New email:
PHP Version: OS:

 

 [2005-08-05 08:43 UTC] bolk at hitv dot ru
Description:
------------
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)'


Patches

Pull Requests

History

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
http://pecl.php.net/get/colorer


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC