#42606 [Fbk->Opn]: unicode/constants.c relies on ICU draft api
| From: | spam02 at pornel dot net | Date: | Fri, 15 Aug 2008 21:55:10 +0000 |
| Subject: | #42606 [Fbk->Opn]: unicode/constants.c relies on ICU draft api | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-128120@lists.php.net to get a copy of this message | ||
ID: 42606
User updated by: spam02 at pornel dot net
Reported By: spam02 at pornel dot net
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: OS X
PHP Version: 6CVS-2007-09-09 (snap)
New Comment:
3.2 on OS X 10.5.4 with Fink (/sw/include/unicode/)
Previous Comments:
------------------------------------------------------------------------
[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/?id=42606&edit=1