Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:21:0:
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:25: error: ‘UnicodeString’ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
^~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:25: note: suggested alternative:
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:26:0,
from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:21:
/usr/include/unicode/unistr.h:286:20: note: ‘icu_61::UnicodeString’
class U_COMMON_API UnicodeString : public Replaceable
^~~~~~~~~~~~~
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:21:0:
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:40: error: ‘ret’ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
^~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:40: note: suggested alternative: ‘getw’
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
^~~
getw
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:45: error: expected primary-expression before ‘char’
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
^~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:63: error: expected primary-expression before ‘str_len’
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
^~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:83: error: expected primary-expression before ‘*’ token
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
^
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:84: error: ‘status’ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
^~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:84: note: suggested alternative: ‘static’
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
^~~~~~
static
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:90: error: expression list treated as compound expression in initializer [-fpermissive]
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
^
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:31:40: error: ‘UnicodeString’ does not name a type
zend_string* intl_charFromString(const UnicodeString &from, UErrorCode *status);
^~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:28:25: error: redefinition of ‘int intl_stringFromChar’
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status)
^~~~~~~~~~~~~
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:21:0:
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:29:5: note: ‘int intl_stringFromChar’ previously defined here
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
^~~~~~~~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:28:25: error: ‘UnicodeString’ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status)
^~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:28:25: note: suggested alternative:
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.h:26:0,
from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:21:
/usr/include/unicode/unistr.h:286:20: note: ‘icu_61::UnicodeString’
class U_COMMON_API UnicodeString : public Replaceable
^~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:28:40: error: ‘ret’ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status)
^~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:28:40: note: suggested alternative: ‘recv’
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status)
^~~
recv
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:28:45: error: expected primary-expression before ‘char’
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status)
^~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:28:63: error: expected primary-expression before ‘str_len’
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status)
^~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:28:83: error: expected primary-expression before ‘*’ token
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status)
^
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:28:84: error: ‘status’ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status)
^~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:28:84: note: suggested alternative: ‘stat64’
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status)
^~~~~~
stat64
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:59:40: error: ‘UnicodeString’ does not name a type; did you mean ‘OnUpdateString’?
zend_string* intl_charFromString(const UnicodeString &from, UErrorCode *status)
^~~~~~~~~~~~~
OnUpdateString
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp: In function ‘zend_string* intl_charFromString(const int&, UErrorCode*)’:
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:63:11: error: request for member ‘isBogus’ in ‘from’, which is of non-class type ‘const int’
if (from.isBogus()) {
^~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:69:26: error: request for member ‘length’ in ‘from’, which is of non-class type ‘const int’
int32_t capacity = from.length() * 3;
^~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:71:11: error: request for member ‘isEmpty’ in ‘from’, which is of non-class type ‘const int’
if (from.isEmpty()) {
^~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:77:31: error: request for member ‘getBuffer’ in ‘from’, which is of non-class type ‘const int’
const UChar *utf16buf = from.getBuffer();
^~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/intl_convertcpp.cpp:79:76: error: request for member ‘length’ in ‘from’, which is of non-class type ‘const int’
u_strToUTF8WithSub(ZSTR_VAL(u8res), capacity, &actual_len, utf16buf, from.length(),
^~~~~~
make: *** [Makefile:1136: ext/intl/intl_convertcpp.lo] Error 1
make: *** Waiting for unfinished jobs....
mkdir: cannot create directory 'ext/intl/common/.libs': File exists
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:26:0:
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:78:50: error: variable or field ‘IntlIterator_from_StringEnumeration’ declared void
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object);
^~~~~~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:78:50: error: ‘StringEnumeration’ was not declared in this scope
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:78:50: note: suggested alternative:
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:23:0,
from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:26:
/usr/include/unicode/strenum.h:57:20: note: ‘icu_61::StringEnumeration’
class U_COMMON_API StringEnumeration : public UObject {
^~~~~~~~~~~~~~~~~
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:26:0:
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:78:69: error: ‘se’ was not declared in this scope
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object);
^~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:78:69: note: suggested alternative: ‘send’
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object);
^~
send
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:78:78: error: expected primary-expression before ‘*’ token
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object);
^
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:78:79: error: ‘object’ was not declared in this scope
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object);
^~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:78:79: note: suggested alternative: ‘connect’
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object);
^~~~~~
connect
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp: In function ‘void string_enum_current_move_forward(zend_object_iterator*)’:
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:90:25: error: ‘StringEnumeration’ was not declared in this scope
const char *result = ((StringEnumeration*)Z_PTR(iter->data))->next(
^~~~~~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:90:25: note: suggested alternative:
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:23:0,
from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:26:
/usr/include/unicode/strenum.h:57:20: note: ‘icu_61::StringEnumeration’
class U_COMMON_API StringEnumeration : public UObject {
^~~~~~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:90:43: error: expected primary-expression before ‘)’ token
const char *result = ((StringEnumeration*)Z_PTR(iter->data))->next(
^
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp: In function ‘void string_enum_rewind(zend_object_iterator*)’:
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:114:4: error: ‘StringEnumeration’ was not declared in this scope
((StringEnumeration*)Z_PTR(iter->data))->reset(INTLITERATOR_ERROR_CODE(ii));
^~~~~~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:114:4: note: suggested alternative:
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:23:0,
from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:26:
/usr/include/unicode/strenum.h:57:20: note: ‘icu_61::StringEnumeration’
class U_COMMON_API StringEnumeration : public UObject {
^~~~~~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:114:22: error: expected primary-expression before ‘)’ token
((StringEnumeration*)Z_PTR(iter->data))->reset(INTLITERATOR_ERROR_CODE(ii));
^
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp: In function ‘void string_enum_destroy_it(zend_object_iterator*)’:
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:127:10: error: ‘StringEnumeration’ was not declared in this scope
delete (StringEnumeration*)Z_PTR(iter->data);
^~~~~~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:127:10: note: suggested alternative:
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:23:0,
from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:26:
/usr/include/unicode/strenum.h:57:20: note: ‘icu_61::StringEnumeration’
class U_COMMON_API StringEnumeration : public UObject {
^~~~~~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:127:28: error: expected primary-expression before ‘)’ token
delete (StringEnumeration*)Z_PTR(iter->data);
^
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp: At global scope:
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:140:50: error: variable or field ‘IntlIterator_from_StringEnumeration’ declared void
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object)
^~~~~~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:140:50: error: ‘StringEnumeration’ was not declared in this scope
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:140:50: note: suggested alternative:
In file included from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.h:23:0,
from /home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:26:
/usr/include/unicode/strenum.h:57:20: note: ‘icu_61::StringEnumeration’
class U_COMMON_API StringEnumeration : public UObject {
^~~~~~~~~~~~~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:140:69: error: ‘se’ was not declared in this scope
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object)
^~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:140:69: note: suggested alternative: ‘send’
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object)
^~
send
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:140:78: error: expected primary-expression before ‘*’ token
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object)
^
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:140:79: error: ‘object’ was not declared in this scope
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object)
^~~~~~
/home/xengi/.cache/pacaur/php71-noconflict/src/php-7.1.16/ext/intl/common/common_enum.cpp:140:79: note: suggested alternative: ‘connect’
U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object)
^~~~~~
connect
make: *** [Makefile:1160: ext/intl/common/common_enum.lo] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build php71-noconflict package(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.