#42606 [NEW]: unicode/constants.c relies on ICU draft api
| From: | spam02 at pornel dot net | Date: | Sun, 09 Sep 2007 19:33:37 +0000 |
| Subject: | #42606 [NEW]: unicode/constants.c relies on ICU draft api | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-117338@lists.php.net to get a copy of this message | ||
From: spam02 at pornel dot net
Operating system: OS X
PHP version: 6CVS-2007-09-09 (snap)
PHP Bug Type: Compile Failure
Bug description: unicode/constants.c relies on ICU draft api
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 bug report at http://bugs.php.net/?id=42606&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42606&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42606&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42606&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42606&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42606&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42606&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42606&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42606&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42606&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42606&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42606&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42606&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42606&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42606&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42606&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42606&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42606&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42606&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42606&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42606&r=mysqlcfg