php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58347 old gcc - problem in msgformat_helper.cpp
Submitted: 2008-09-18 17:08 UTC Modified: 2008-10-22 15:35 UTC
From: ed at batutis dot com Assigned:
Status: Closed Package: intl (PECL)
PHP Version: 5.2.5 OS: freebsd 411
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:
8 + 4 = ?
Subscribe to this entry?

 
 [2008-09-18 17:08 UTC] ed at batutis dot com
Description:
------------
There?s a pecl/intl compile issue with an old version of gcc - 2.95.3. That version of gcc apparently doesn?t like ICU?s unicode/chariter.h inside an extern "C" block:

To fix it, one can patch msgformat/msgformatter_helper.cpp

#include <math.h>
#include <unicode/msgfmt.h>
*#include <unicode/chariter.h> *To be added.

So it doesn't get pulled in later on inside the extern "C" that starts just below that.

This is a c++ header file.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-22 15:35 UTC] stas at zend dot com
Fixed in CVS - thanks Ed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC