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
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: 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 16:01:28 2024 UTC