|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76263 intl - 7.0.30 fails to compile with icu 61
Submitted: 2018-04-25 08:23 UTC Modified: 2018-04-25 14:09 UTC
From: sjon at hortensius dot net Assigned:
Status: Wont fix Package: intl (PECL)
PHP Version: 7.0Git-2018-04-25 (Git) OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-04-25 08:23 UTC] sjon at hortensius dot net
upcoming 7.0.30 fails to compile with icu-61. Probably related to #76153

offtopic - the intl package is incorrectly grouped in the 'Package affected:' as being a PECL package

Actual result:
  if (from.isEmpty()) {
php-7.0.30/ext/intl/intl_convertcpp.cpp:77:31: error: request for member ‘getBuffer’ in ‘from’, which is of non-class type ‘const int’
  const UChar *utf16buf = from.getBuffer();
php-7.0.30/ext/intl/intl_convertcpp.cpp:79:76: error: request for member ‘length’ in ‘from’, which is of non-class type ‘const int’
  u_strToUTF8WithSub(ZSTR_VAL(u8res), capacity, &actual_len, utf16buf, from.length(),
make: *** [Makefile:854: ext/intl/intl_convertcpp.lo] Error 1
make: *** Waiting for unfinished jobs....


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-04-25 14:09 UTC]
-Status: Open +Status: Wont fix
 [2018-04-25 14:09 UTC]
Thanks for the report. This issue is fixed in PHP >= 7.1. The 7.0 branch is security only, so these fixes won't be backported. Please apply the patches yourself or upgrade.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jan 19 06:01:23 2021 UTC