#42606 [Opn->Fbk]: unicode/constants.c relies on ICU draft api

From: Date: Tue, 12 Aug 2008 16:31:57 +0000
Subject: #42606 [Opn->Fbk]: unicode/constants.c relies on ICU draft api
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-127975@lists.php.net to get a copy of this message
ID: 42606 Updated by: jani@php.net Reported By: spam02 at pornel dot net -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: OS X PHP Version: 6CVS-2007-09-09 (snap) New Comment: What ICU version this happens with? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#127975) next »