Bug #42606 [Opn->Wfx]: unicode/constants.c relies on ICU draft api
| From: | felipe@php.net | Date: | Sun, 20 Jun 2010 22:28:29 +0000 |
| Subject: | Bug #42606 [Opn->Wfx]: unicode/constants.c relies on ICU draft api | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151690@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=42606&edit=1
ID: 42606
Updated by: felipe@php.net
Reported by: spam02 at pornel dot net
Summary: unicode/constants.c relies on ICU draft api
-Status: Open
+Status: Wont fix
Type: Bug
Package: Compile Failure
Operating System: MacOSX
PHP Version: 6CVS-2007-09-09 (snap)
New Comment:
Old trunk related.
Previous Comments:
------------------------------------------------------------------------
[2008-08-15 22:27:55] pajoye@php.net
The minimum version required for PHP 5.3 is 3.6 or 3.8 (3.8 is the
recommended one and used by intl as test base). PHP 6 will rely on 3.8
or maybe even 4.x.
About this constant, it is not anymore in a draft section (3.6+). The
fix would be to actually detect the minimum version and fail if it is
not found (which should happen with 3.2).
------------------------------------------------------------------------
[2008-08-15 21:55:09] spam02 at pornel dot net
3.2 on OS X 10.5.4 with Fink (/sw/include/unicode/)
------------------------------------------------------------------------
[2008-08-12 16:31:56] jani@php.net
What ICU version this happens with?
------------------------------------------------------------------------
[2007-09-09 19:33:37] spam02 at pornel dot net
Description:
------------
Compile fails with:
ext/unicode/constants.c: In function
‘php_register_property_constants’:
ext/unicode/constants.c:81: error: ‘UCHAR_POSIX_ALNUM’
undeclared
The definition of it is in ICU's uchar.h hidden in #ifndef
U_HIDE_DRAFT_API
Expected result:
----------------
constants.c should check whether stable or draft ICU API is available or
just not rely on these constants.
If it couldn't possibly work without draft API, configure should fail
instead.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=42606&edit=1