|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-10-22 16:12 UTC] cmb@php.net
-Status: Open
+Status: Wont fix
-Assigned To:
+Assigned To: cmb
[2018-10-22 16:12 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 04:00:02 2025 UTC |
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