|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2020-11-03 14:03 UTC] me at derrabus dot de
Description: ------------ I tried to build php 7.4.12 with ext-intl against icu4c 68.1 and the compilation fails with the error output below. Downgrading to icu4c 67.1 fixes the problem. This might be related to this change: https://unicode-org.atlassian.net/browse/ICU-21267 Actual result: -------------- /path/to/php-7.4.12/ext/intl/collator/collator_sort.c:349:26: error: use of undeclared identifier 'TRUE' collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU ); ^ /path/to/php-7.4.12/ext/intl/collator/collator_sort.c:543:26: error: use of undeclared identifier 'FALSE' collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU ); ^ 2 errors generated. make: *** [ext/intl/collator/collator_sort.lo] Error 1 make: *** Waiting for unfinished jobs.... PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 16:00:01 2025 UTC |
Would it work with CFLAGS=-DU_DEFINE_FALSE_AND_TRUE=1If I try this, the error is a different one, but it still does not compile. /path/to/php-7.4.12/ext/intl/timezone/timezone_class.cpp:328:21: error: use of undeclared identifier 'FALSE' tz->getOffset(now, FALSE, rawOffset, dstOffset, uec); ^ /path/to/php-7.4.12/ext/intl/timezone/timezone_methods.cpp:98:57: error: use of undeclared identifier 'FALSE' tz = timezone_convert_datetimezone(tzobj->type, tzobj, FALSE, NULL, ^