Bug #80310 [NEW]: ext-intl with icu4c 68.1: use of undeclared identifier 'TRUE'

From: Date: Tue, 03 Nov 2020 14:03:11 +0000
Subject: Bug #80310 [NEW]: ext-intl with icu4c 68.1: use of undeclared identifier 'TRUE'
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230082@lists.php.net to get a copy of this message
From:             me at derrabus dot de
Operating system: macOS 10.15
PHP version:      7.4.12
Package:          Compile Failure
Bug Type:         Bug
Bug description:ext-intl with icu4c 68.1: use of undeclared identifier 'TRUE'

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....

-- 
Edit bug report at https://bugs.php.net/bug.php?id=80310&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=80310&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=80310&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=80310&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=80310&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=80310&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=80310&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=80310&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=80310&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=80310&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=80310&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80310&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=80310&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=80310&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=80310&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=80310&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=80310&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=80310&r=mysqlcfg


Thread (7 messages)

« previous php.bugs (#230082) next »