php.net |  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
Description:
------------
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....

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-04-25 14:09 UTC] ab@php.net
-Status: Open +Status: Wont fix
 [2018-04-25 14:09 UTC] ab@php.net
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.

Thanks.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Feb 22 23:01:25 2020 UTC