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

From: Date: Fri, 07 Jan 2022 09:35:46 +0000
Subject: Bug #80310 [Com]: ext-intl with icu4c 68.1: use of undeclared identifier 'TRUE'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238841@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80310&edit=1 ID: 80310 Comment by: adiechahari at gmail dot com Reported by: me at derrabus dot de Summary: ext-intl with icu4c 68.1: use of undeclared identifier 'TRUE' Status: Closed Type: Bug Package: Compile Failure Operating System: macOS 10.15 PHP Version: 7.4.12 Block user comment: N Private report: N New Comment: export CXX="g++ -DTRUE=1 -DFALSE=0" export CC="gcc -DTRUE=1 -DFALSE=0" Try this, it should work ref: https://github.com/phpbrew/phpbrew/issues/1236 Previous Comments: ------------------------------------------------------------------------ [2020-11-13 14:05:14] cmb@php.net Related To: Bug #80361 ------------------------------------------------------------------------ [2020-11-09 13:36:05] nikic@php.net Automatic comment on behalf of me@derrabus.de Revision: http://git.php.net/?p=php-src.git;a=commit;h=8eaaabdd58a395853d3658418622ee24635cb871 Log: Fixed bug #80310: Support for icu4c 68.1. ------------------------------------------------------------------------ [2020-11-03 16:30:43] me at derrabus dot de Can you have a look at https://github.com/php/php-src/pull/6397 please? ------------------------------------------------------------------------ [2020-11-03 16:14:54] me at derrabus dot de However, it *does* compile if I configure CXXFLAGS the same way. ------------------------------------------------------------------------ [2020-11-03 15:34:05] me at derrabus dot de If 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, ^ ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=80310 -- Edit this bug report at https://bugs.php.net/bug.php?id=80310&edit=1

« previous php.bugs (#238841) next »