Bug #77046 [Opn->Wfx]: Compilation failure with ICU>61.1
| From: | cmb@php.net | Date: | Mon, 22 Oct 2018 16:12:39 +0000 |
| Subject: | Bug #77046 [Opn->Wfx]: Compilation failure with ICU>61.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217655@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77046&edit=1
ID: 77046
Updated by: cmb@php.net
Reported by: info at icod dot de
Summary: Compilation failure with ICU>61.1
-Status: Open
+Status: Wont fix
Type: Bug
Package: Compile Failure
Operating System: Linux Gentoo
PHP Version: 5.6.38
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
PHP 5.6 is no longer actively supported as of 2017-01-20.
Therefore it doesn't receive any non-security related bugfixes
anymore.
[1] <http://php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2018-10-22 12:01:05] info at icod dot de
Description:
------------
ICU, currently at version 63 and php 5.6.38 lead to a failed compilation with intl enabled.
Actual result:
--------------
In file included from
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:21:
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.h:28:5: note:
âint intl_stringFromCharâ previously defined here
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status);
^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:28:25: error:
âUnicodeStringâ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^~~~~~~~~~~~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:28:25: note:
suggested alternative:
In file included from
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.h:26,
from
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:21:
/usr/include/unicode/unistr.h:289:20: note: âicu::UnicodeStringâ
class U_COMMON_API UnicodeString : public Replaceable
^~~~~~~~~~~~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:28:40: error:
âretâ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:28:40: note:
suggested alternative: ârecvâ
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^~~
recv
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:28:45: error:
expected primary-expression before âcharâ
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^~~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:28:64: error:
expected primary-expression before âstr_lenâ
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^~~~~~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:28:84: error:
expected primary-expression before â*â token
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:28:85: error:
âstatusâ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^~~~~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:28:85: note:
suggested alternative: âstat64â
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
^~~~~~
stat64
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:54:31: error:
âUnicodeStringâ does not name a type; did you mean âOnUpdateStringâ?
int intl_charFromString(const UnicodeString &from, char **res, int *res_len, UErrorCode
*status)
^~~~~~~~~~~~~
OnUpdateString
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp: In function
âint intl_charFromString(const int&, char**, int*, UErrorCode*)â:
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:56:11: error:
request for member âisBogusâ in âfromâ, which is of non-class type âconst
intâ
if (from.isBogus()) {
^~~~~~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:62:26: error:
request for member âlengthâ in âfromâ, which is of non-class type âconst
intâ
int32_t capacity = from.length() * 3 + 1;
^~~~~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:64:11: error:
request for member âisEmptyâ in âfromâ, which is of non-class type âconst
intâ
if (from.isEmpty()) {
^~~~~~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:74:31: error:
request for member âgetBufferâ in âfromâ, which is of non-class type âconst
intâ
const UChar *utf16buf = from.getBuffer();
^~~~~~~~~
/var/tmp/portage/dev-lang/php-5.6.38/work/sapis-build/cli/ext/intl/intl_convertcpp.cpp:76:69: error:
request for member âlengthâ in âfromâ, which is of non-class type âconst
intâ
u_strToUTF8WithSub(*res, capacity - 1, &actual_len, utf16buf, from.length(),
^~~~~~
make: *** [Makefile:853: ext/intl/intl_convertcpp.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77046&edit=1