php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62933 ext/intl compilation error on icu 3.4.1
Submitted: 2012-08-26 10:03 UTC Modified: 2012-08-26 20:04 UTC
From: glen at delfi dot ee Assigned: cataphract
Status: Closed Package: intl (PECL)
PHP Version: 5.4.6 OS: Linux
Private report: No CVE-ID:
 [2012-08-26 10:03 UTC] glen at delfi dot ee
Description:
------------
i posted to bug that originally introduced this https://bugs.php.net/bug.php?
id=60392 - but seems old bugs are not tracked, so opening new bug

 [2012-08-23 21:07 UTC] glen at delfi dot ee
similarily to this U_IDNA_ZERO_LENGTH_LABEL_ERROR is not present in icu 3.4

funny is, that this error did not appear with php 5.3 because it was "protected" 
by U_IDNA_PROHIBITED_ERROR ifdef, which this commit made it broken:

https://github.com/php/php-src/commit/5fa1cfbbe694ee6d4e6925cd5ca3e69d943ea4b1


Patches

intl-icu-const.patch (last revision 2012-08-26 10:04 UTC) by glen at delfi dot ee)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-26 10:21 UTC] laruence@php.net
-Assigned To: +Assigned To: cataphract
 [2012-08-26 20:04 UTC] cataphract@php.net
-Status: Assigned +Status: Closed
 [2012-08-26 20:04 UTC] cataphract@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Fixed. Note your patch is incorrect because the symbol U_IDNA_ZERO_LENGTH_LABEL_ERROR is an enum constant, not a preprocessor variable. So basically the #if would evaluate to false all the time.
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Feb 26 16:01:37 2017 UTC