|  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
 [2008-09-18 17:08 UTC] ed at batutis dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


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 Jul 20 04:01:28 2024 UTC