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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ed at batutis dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 11:01:30 2024 UTC