=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for php56-intl-5.6.30nb1 /bin/cp /data/pkgsrc-current/textproc/php-intl/../../lang/php/ext.ini /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl.ini --- php_intl.lo --- --- intl_error.lo --- --- intl_convert.lo --- --- intl_convertcpp.lo --- --- intl_error.lo --- /bin/sh /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/libtool --mode=compile gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_error.c -o intl_error.lo --- intl_convert.lo --- /bin/sh /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/libtool --mode=compile gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convert.c -o intl_convert.lo --- intl_convertcpp.lo --- /bin/sh /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/libtool --mode=compile c++ -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp -o intl_convertcpp.lo --- php_intl.lo --- /bin/sh /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/libtool --mode=compile gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/php_intl.c -o php_intl.lo --- intl_convertcpp.lo --- mkdir .libs c++ -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp -fPIC -DPIC -o .libs/intl_convertcpp.o --- intl_error.lo --- gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_error.c -fPIC -DPIC -o .libs/intl_error.o --- intl_convert.lo --- gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convert.c -fPIC -DPIC -o .libs/intl_convert.o --- php_intl.lo --- gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/php_intl.c -fPIC -DPIC -o .libs/php_intl.o --- intl_convertcpp.lo --- In file included from /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/utypes.h:38:0, from /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:32, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.h:26, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:21: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/umachine.h:347:13: error: 'char16_t' does not name a type typedef char16_t UChar; ^ In file included from /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/utypes.h:39:0, from /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:32, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.h:26, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:21: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/uversion.h:167:55: error: 'UChar' does not name a type u_versionFromUString(UVersionInfo versionArray, const UChar *versionString); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/uversion.h:167:62: error: ISO C++ forbids declaration of 'versionString' with no type [-fpermissive] u_versionFromUString(UVersionInfo versionArray, const UChar *versionString); ^ In file included from /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:33:0, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.h:26, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:21: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:46:31: error: expected ')' before '*' token inline Char16Ptr(char16_t *p); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:69:37: error: expected ')' before 'p' inline Char16Ptr(std::nullptr_t p); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:81:12: error: 'char16_t' does not name a type inline char16_t *get() const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:87:21: error: expected type-specifier before 'char16_t' inline operator char16_t *() const { return get(); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:90:19: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] Char16Ptr() = delete; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:93:33: error: 'char16_t' does not name a type template static char16_t *cast(T *t) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:98:5: error: 'char16_t' does not name a type char16_t *p; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:110:21: error: expected constructor, destructor, or type conversion before '(' token Char16Ptr::Char16Ptr(char16_t *p) : p(p) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h: In constructor 'icu_59::Char16Ptr::Char16Ptr(__uint16_t*)': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:112:37: error: class 'icu_59::Char16Ptr' does not have any field named 'p' Char16Ptr::Char16Ptr(uint16_t *p) : p(cast(p)) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:112:45: error: 'cast' was not declared in this scope Char16Ptr::Char16Ptr(uint16_t *p) : p(cast(p)) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:117:21: error: expected constructor, destructor, or type conversion before '(' token Char16Ptr::Char16Ptr(std::nullptr_t p) : p(p) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h: In destructor 'icu_59::Char16Ptr::~Char16Ptr()': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:119:24: error: 'p' was not declared in this scope U_ALIASING_BARRIER(p); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:30:61: note: in definition of macro 'U_ALIASING_BARRIER' # define U_ALIASING_BARRIER(ptr) asm volatile("" : : "rm"(ptr) : "memory") ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:122:1: error: 'char16_t' does not name a type char16_t *Char16Ptr::get() const { return p; } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:153:33: error: 'char16_t' does not name a type inline ConstChar16Ptr(const char16_t *p); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:153:43: error: ISO C++ forbids declaration of 'p' with no type [-fpermissive] inline ConstChar16Ptr(const char16_t *p); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:176:33: error: 'nullptr_t' in namespace 'std' does not name a type inline ConstChar16Ptr(const std::nullptr_t p); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:176:48: error: ISO C++ forbids declaration of 'p' with no type [-fpermissive] inline ConstChar16Ptr(const std::nullptr_t p); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:189:18: error: 'char16_t' does not name a type inline const char16_t *get() const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:195:27: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] inline operator const char16_t *() const { return get(); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:195:12: error: 'operator const int' does not name a type inline operator const char16_t *() const { return get(); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:198:24: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] ConstChar16Ptr() = delete; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:201:39: error: 'char16_t' does not name a type template static const char16_t *cast(const T *t) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:206:11: error: 'char16_t' does not name a type const char16_t *p; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:218:38: error: 'char16_t' does not name a type ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p(p) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:218:48: error: ISO C++ forbids declaration of 'p' with no type [-fpermissive] ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p(p) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h: In constructor 'icu_59::ConstChar16Ptr::ConstChar16Ptr(const int*)': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:218:53: error: class 'icu_59::ConstChar16Ptr' does not have any field named 'p' ConstChar16Ptr::ConstChar16Ptr(const char16_t *p) : p(p) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h: In constructor 'icu_59::ConstChar16Ptr::ConstChar16Ptr(const __uint16_t*)': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:220:53: error: class 'icu_59::ConstChar16Ptr' does not have any field named 'p' ConstChar16Ptr::ConstChar16Ptr(const uint16_t *p) : p(cast(p)) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:220:61: error: 'cast' was not declared in this scope ConstChar16Ptr::ConstChar16Ptr(const uint16_t *p) : p(cast(p)) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:225:38: error: 'nullptr_t' in namespace 'std' does not name a type ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p(p) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:225:53: error: ISO C++ forbids declaration of 'p' with no type [-fpermissive] ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p(p) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h: In constructor 'icu_59::ConstChar16Ptr::ConstChar16Ptr(int)': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:225:58: error: class 'icu_59::ConstChar16Ptr' does not have any field named 'p' ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p(p) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h: In destructor 'icu_59::ConstChar16Ptr::~ConstChar16Ptr()': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:227:24: error: 'p' was not declared in this scope U_ALIASING_BARRIER(p); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:30:61: note: in definition of macro 'U_ALIASING_BARRIER' # define U_ALIASING_BARRIER(ptr) asm volatile("" : : "rm"(ptr) : "memory") ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:230:7: error: 'char16_t' does not name a type const char16_t *ConstChar16Ptr::get() const { return p; } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:255:14: error: 'UChar' does not name a type inline const UChar *toUCharPtr(const char16_t *p) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:269:8: error: 'UChar' does not name a type inline UChar *toUCharPtr(char16_t *p) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:283:44: error: 'char16_t' does not name a type inline const OldUChar *toOldUCharPtr(const char16_t *p) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:283:54: error: ISO C++ forbids declaration of 'p' with no type [-fpermissive] inline const OldUChar *toOldUCharPtr(const char16_t *p) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:297:32: error: 'icu_59::toOldUCharPtr' declared as an 'inline' variable inline OldUChar *toOldUCharPtr(char16_t *p) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:297:32: error: 'OldUChar* icu_59::toOldUCharPtr' redeclared as different kind of symbol /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:283:24: error: previous declaration of 'const OldUChar* icu_59::toOldUCharPtr(const int*)' inline const OldUChar *toOldUCharPtr(const char16_t *p) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:297:32: error: 'char16_t' was not declared in this scope inline OldUChar *toOldUCharPtr(char16_t *p) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/char16ptr.h:297:42: error: 'p' was not declared in this scope inline OldUChar *toOldUCharPtr(char16_t *p) { ^ In file included from /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:34:0, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.h:26, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:21: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/rep.h:96:12: error: 'char16_t' does not name a type inline char16_t charAt(int32_t offset) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/rep.h:233:13: error: 'char16_t' does not name a type virtual char16_t getCharAt(int32_t offset) const = 0; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/rep.h:249:8: error: 'char16_t' does not name a type inline char16_t ^ In file included from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.h:26:0, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:21: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:56:16: error: 'UChar' does not name a type u_strlen(const UChar *s); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:56:23: error: ISO C++ forbids declaration of 's' with no type [-fpermissive] u_strlen(const UChar *s); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:80:19: error: 'char16_t' has not been declared char16_t *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:81:25: error: 'char16_t' does not name a type const char16_t *src, int32_t srcLength, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:81:35: error: ISO C++ forbids declaration of 'src' with no type [-fpermissive] const char16_t *src, int32_t srcLength, ^ In file included from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.h:26:0, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:21: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:462:16: error: 'char16_t' does not name a type const char16_t *srcChars) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:462:26: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:483:16: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:483:26: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:621:45: error: 'char16_t' does not name a type const char16_t *srcChars) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:621:55: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:646:45: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:646:55: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:796:16: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:796:26: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:823:16: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:823:26: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:900:33: error: 'char16_t' does not name a type inline UBool startsWith(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:900:43: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] inline UBool startsWith(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:948:31: error: 'char16_t' does not name a type inline UBool endsWith(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:948:41: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] inline UBool endsWith(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1025:32: error: 'char16_t' does not name a type inline int32_t indexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1025:42: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] inline int32_t indexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1062:25: error: 'char16_t' does not name a type int32_t indexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1062:35: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] int32_t indexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1075:26: error: 'char16_t' has not been declared inline int32_t indexOf(char16_t c) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1085:18: error: '__int32_t icu_59::UnicodeString::indexOf(UChar32) const' cannot be overloaded inline int32_t indexOf(UChar32 c) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1075:18: error: with '__int32_t icu_59::UnicodeString::indexOf(int) const' inline int32_t indexOf(char16_t c) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1095:26: error: 'char16_t' has not been declared inline int32_t indexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1107:18: error: '__int32_t icu_59::UnicodeString::indexOf(UChar32, __int32_t) const' cannot be overloaded inline int32_t indexOf(UChar32 c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1095:18: error: with '__int32_t icu_59::UnicodeString::indexOf(int, __int32_t) const' inline int32_t indexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1120:26: error: 'char16_t' has not been declared inline int32_t indexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1135:18: error: '__int32_t icu_59::UnicodeString::indexOf(UChar32, __int32_t, __int32_t) const' cannot be overloaded inline int32_t indexOf(UChar32 c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1120:18: error: with '__int32_t icu_59::UnicodeString::indexOf(int, __int32_t, __int32_t) const' inline int32_t indexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1208:36: error: 'char16_t' does not name a type inline int32_t lastIndexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1208:46: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] inline int32_t lastIndexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1245:29: error: 'char16_t' does not name a type int32_t lastIndexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1245:39: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] int32_t lastIndexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1258:30: error: 'char16_t' has not been declared inline int32_t lastIndexOf(char16_t c) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1268:18: error: '__int32_t icu_59::UnicodeString::lastIndexOf(UChar32) const' cannot be overloaded inline int32_t lastIndexOf(UChar32 c) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1258:18: error: with '__int32_t icu_59::UnicodeString::lastIndexOf(int) const' inline int32_t lastIndexOf(char16_t c) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1278:30: error: 'char16_t' has not been declared inline int32_t lastIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1290:18: error: '__int32_t icu_59::UnicodeString::lastIndexOf(UChar32, __int32_t) const' cannot be overloaded inline int32_t lastIndexOf(UChar32 c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1278:18: error: with '__int32_t icu_59::UnicodeString::lastIndexOf(int, __int32_t) const' inline int32_t lastIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1303:30: error: 'char16_t' has not been declared inline int32_t lastIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1318:18: error: '__int32_t icu_59::UnicodeString::lastIndexOf(UChar32, __int32_t, __int32_t) const' cannot be overloaded inline int32_t lastIndexOf(UChar32 c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1303:18: error: with '__int32_t icu_59::UnicodeString::lastIndexOf(int, __int32_t, __int32_t) const' inline int32_t lastIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1333:10: error: 'char16_t' does not name a type inline char16_t charAt(int32_t offset) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1342:10: error: 'char16_t' does not name a type inline char16_t operator[] (int32_t offset) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1518:15: error: 'char16_t' has not been declared char16_t *dst, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1955:36: error: declaration of 'operator=' as non-function inline UnicodeString& operator= (char16_t ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1955:33: error: expected ';' at end of member declaration inline UnicodeString& operator= (char16_t ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1955:45: error: expected ')' before 'ch' inline UnicodeString& operator= (char16_t ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2015:37: error: 'char16_t' does not name a type inline UnicodeString& setTo(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2015:47: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] inline UnicodeString& setTo(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2026:18: error: expected ';' at end of member declaration UnicodeString& setTo(char16_t srcChar); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2026:24: error: 'icu_59::UnicodeString& icu_59::UnicodeString::setTo' conflicts with a previous declaration UnicodeString& setTo(char16_t srcChar); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2015:25: note: previous declaration 'icu_59::UnicodeString::setTo' inline UnicodeString& setTo(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2026:33: error: expected ')' before 'srcChar' UnicodeString& setTo(char16_t srcChar); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2084:18: error: expected ';' at end of member declaration UnicodeString &setTo(char16_t *buffer, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2084:24: error: 'icu_59::UnicodeString& icu_59::UnicodeString::setTo' conflicts with a previous declaration UnicodeString &setTo(char16_t *buffer, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2061:18: note: previous declaration 'icu_59::UnicodeString::setTo' UnicodeString &setTo(UBool isTerminated, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2084:33: error: expected ')' before '*' token UnicodeString &setTo(char16_t *buffer, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2138:16: error: 'char16_t' has not been declared char16_t ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2150:37: error: declaration of 'operator+=' as non-function inline UnicodeString& operator+= (char16_t ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2150:33: error: expected ';' at end of member declaration inline UnicodeString& operator+= (char16_t ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2150:46: error: expected ')' before 'ch' inline UnicodeString& operator+= (char16_t ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2210:38: error: 'char16_t' does not name a type inline UnicodeString& append(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2210:48: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] inline UnicodeString& append(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2232:32: error: 'append' declared as an 'inline' field inline UnicodeString& append(char16_t srcChar); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2232:25: error: expected ';' at end of member declaration inline UnicodeString& append(char16_t srcChar); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2232:32: error: 'icu_59::UnicodeString& icu_59::UnicodeString::append' conflicts with a previous declaration inline UnicodeString& append(char16_t srcChar); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2223:25: note: previous declaration 'icu_59::UnicodeString::append' inline UnicodeString& append(ConstChar16Ptr srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2232:41: error: expected ')' before 'srcChar' inline UnicodeString& append(char16_t srcChar); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2288:19: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2288:29: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2314:13: error: 'char16_t' has not been declared char16_t srcChar); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2324:25: error: 'icu_59::UnicodeString& icu_59::UnicodeString::insert(__int32_t, UChar32)' cannot be overloaded inline UnicodeString& insert(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2313:25: error: with 'icu_59::UnicodeString& icu_59::UnicodeString::insert(__int32_t, int)' inline UnicodeString& insert(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2388:20: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2388:30: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2422:14: error: 'char16_t' has not been declared char16_t srcChar); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2435:18: error: 'icu_59::UnicodeString& icu_59::UnicodeString::replace(__int32_t, __int32_t, UChar32)' cannot be overloaded UnicodeString& replace(int32_t start, int32_t length, UChar32 srcChar); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2420:25: error: with 'icu_59::UnicodeString& icu_59::UnicodeString::replace(__int32_t, __int32_t, int)' inline UnicodeString& replace(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2620:21: error: 'char16_t' has not been declared char16_t padChar = 0x0020); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2634:22: error: 'char16_t' has not been declared char16_t padChar = 0x0020); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2862:3: error: 'char16_t' does not name a type char16_t *getBuffer(int32_t minCapacity); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2916:16: error: 'char16_t' does not name a type inline const char16_t *getBuffer() const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2951:9: error: 'char16_t' does not name a type const char16_t *getTerminatedBuffer(); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2984:52: error: expected ')' before 'ch' UNISTR_FROM_CHAR_EXPLICIT UnicodeString(char16_t ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3007:51: error: 'char16_t' does not name a type UNISTR_FROM_STRING_EXPLICIT UnicodeString(const char16_t *text); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3007:61: error: ISO C++ forbids declaration of 'text' with no type [-fpermissive] UNISTR_FROM_STRING_EXPLICIT UnicodeString(const char16_t *text); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3062:58: error: 'nullptr_t' in namespace 'std' does not name a type UNISTR_FROM_STRING_EXPLICIT inline UnicodeString(const std::nullptr_t text); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3062:73: error: ISO C++ forbids declaration of 'text' with no type [-fpermissive] UNISTR_FROM_STRING_EXPLICIT inline UnicodeString(const std::nullptr_t text); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3062:38: error: 'icu_59::UnicodeString::UnicodeString(int)' cannot be overloaded UNISTR_FROM_STRING_EXPLICIT inline UnicodeString(const std::nullptr_t text); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2995:29: error: with 'icu_59::UnicodeString::UnicodeString(UChar32)' UNISTR_FROM_CHAR_EXPLICIT UnicodeString(UChar32 ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3071:23: error: 'char16_t' does not name a type UnicodeString(const char16_t *text, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3071:33: error: ISO C++ forbids declaration of 'text' with no type [-fpermissive] UnicodeString(const char16_t *text, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3118:30: error: 'nullptr_t' in namespace 'std' does not name a type inline UnicodeString(const std::nullptr_t text, int32_t length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3118:45: error: ISO C++ forbids declaration of 'text' with no type [-fpermissive] inline UnicodeString(const std::nullptr_t text, int32_t length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3164:26: error: expected ')' before '*' token UnicodeString(char16_t *buffer, int32_t buffLength, int32_t buffCapacity); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3213:39: error: expected ')' before 'buffer' inline UnicodeString(std::nullptr_t buffer, int32_t buffLength, int32_t buffCapacity); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3530:11: error: 'char16_t' does not name a type virtual char16_t getCharAt(int32_t offset) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3566:18: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3566:28: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3579:40: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3579:50: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3594:23: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3594:33: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3599:21: error: 'char16_t' has not been declared int32_t doIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3603:11: error: '__int32_t icu_59::UnicodeString::doIndexOf(UChar32, __int32_t, __int32_t) const' cannot be overloaded int32_t doIndexOf(UChar32 c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3599:11: error: with '__int32_t icu_59::UnicodeString::doIndexOf(int, __int32_t, __int32_t) const' int32_t doIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3607:25: error: 'char16_t' has not been declared int32_t doLastIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3611:11: error: '__int32_t icu_59::UnicodeString::doLastIndexOf(UChar32, __int32_t, __int32_t) const' cannot be overloaded int32_t doLastIndexOf(UChar32 c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3607:11: error: with '__int32_t icu_59::UnicodeString::doLastIndexOf(int, __int32_t, __int32_t) const' int32_t doLastIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3617:10: error: 'char16_t' has not been declared char16_t *dst, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3624:10: error: 'char16_t' does not name a type inline char16_t doCharAt(int32_t offset) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3634:22: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3634:32: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3639:33: error: 'char16_t' does not name a type UnicodeString& doAppend(const char16_t *srcChars, int32_t srcStart, int32_t srcLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3639:43: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] UnicodeString& doAppend(const char16_t *srcChars, int32_t srcStart, int32_t srcLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3649:10: error: 'char16_t' does not name a type inline char16_t* getArrayStart(void); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3650:16: error: 'char16_t' does not name a type inline const char16_t* getArrayStart(void) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3667:24: error: 'char16_t' has not been declared inline void setArray(char16_t *array, int32_t len, int32_t capacity); // sets length but not flags ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3845:7: error: 'char16_t' does not name a type char16_t fBuffer[US_STACKBUF_SIZE]; // buffer for short strings ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3853:7: error: 'char16_t' does not name a type char16_t *fArray; // the Unicode data ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In constructor 'icu_59::UnicodeString::UnicodeString(const __uint16_t*)': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3025:41: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 [enabled by default] UnicodeString(ConstChar16Ptr(text)) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3025:41: error: no matching function for call to 'icu_59::UnicodeString::UnicodeString(icu_59::ConstChar16Ptr)' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3025:41: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3388:3: note: icu_59::UnicodeString::UnicodeString(const icu_59::UnicodeString&, __int32_t, __int32_t) UnicodeString(const UnicodeString& src, int32_t srcStart, int32_t srcLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3388:3: note: candidate expects 3 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3379:3: note: icu_59::UnicodeString::UnicodeString(const icu_59::UnicodeString&, __int32_t) UnicodeString(const UnicodeString& src, int32_t srcStart); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3379:3: note: candidate expects 2 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3361:3: note: icu_59::UnicodeString::UnicodeString(const icu_59::UnicodeString&) UnicodeString(const UnicodeString& that); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3361:3: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3342:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t, icu_59::UnicodeString::EInvariant) UnicodeString(const char *src, int32_t length, enum EInvariant inv); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3342:3: note: candidate expects 3 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3311:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t, UConverter*, UErrorCode&) UnicodeString( ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3311:3: note: candidate expects 4 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3288:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t, const char*) UnicodeString(const char *codepageData, int32_t dataLength, const char *codepage); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3288:3: note: candidate expects 3 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3269:3: note: icu_59::UnicodeString::UnicodeString(const char*, const char*) UnicodeString(const char *codepageData, const char *codepage); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3269:3: note: candidate expects 2 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3246:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t) UnicodeString(const char *codepageData, int32_t dataLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3246:3: note: candidate expects 2 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3236:31: note: icu_59::UnicodeString::UnicodeString(const char*) UNISTR_FROM_STRING_EXPLICIT UnicodeString(const char *codepageData); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3236:31: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const char*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3179:3: note: icu_59::UnicodeString::UnicodeString(__uint16_t*, __int32_t, __int32_t) UnicodeString(uint16_t *buffer, int32_t buffLength, int32_t buffCapacity) : ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3179:3: note: candidate expects 3 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3142:3: note: icu_59::UnicodeString::UnicodeString(UBool, icu_59::ConstChar16Ptr, __int32_t) UnicodeString(UBool isTerminated, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3142:3: note: candidate expects 3 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3118:10: note: icu_59::UnicodeString::UnicodeString(int, __int32_t) inline UnicodeString(const std::nullptr_t text, int32_t length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3118:10: note: candidate expects 2 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3086:3: note: icu_59::UnicodeString::UnicodeString(const __uint16_t*, __int32_t) UnicodeString(const uint16_t *text, int32_t length) : ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3086:3: note: candidate expects 2 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3071:3: note: icu_59::UnicodeString::UnicodeString(const int*, __int32_t) UnicodeString(const char16_t *text, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3071:3: note: candidate expects 2 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3024:31: note: icu_59::UnicodeString::UnicodeString(const __uint16_t*) UNISTR_FROM_STRING_EXPLICIT UnicodeString(const uint16_t *text) : ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3024:31: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const __uint16_t* {aka const short unsigned int*}' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3007:31: note: icu_59::UnicodeString::UnicodeString(const int*) UNISTR_FROM_STRING_EXPLICIT UnicodeString(const char16_t *text); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3007:31: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const int*' --- collator/collator.lo --- /bin/sh /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/libtool --mode=compile gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/collator/collator.c -o collator/collator.lo --- intl_convertcpp.lo --- /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2995:29: note: icu_59::UnicodeString::UnicodeString(UChar32) UNISTR_FROM_CHAR_EXPLICIT UnicodeString(UChar32 ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2995:29: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'UChar32 {aka int}' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2973:3: note: icu_59::UnicodeString::UnicodeString(__int32_t, UChar32, __int32_t) UnicodeString(int32_t capacity, UChar32 c, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2973:3: note: candidate expects 3 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2960:10: note: icu_59::UnicodeString::UnicodeString() inline UnicodeString(); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2960:10: note: candidate expects 0 arguments, 1 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In constructor 'icu_59::UnicodeString::UnicodeString(const __uint16_t*, __int32_t)': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3087:49: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 [enabled by default] UnicodeString(ConstChar16Ptr(text), length) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3087:49: error: no matching function for call to 'icu_59::UnicodeString::UnicodeString(icu_59::ConstChar16Ptr, __int32_t&)' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3087:49: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3388:3: note: icu_59::UnicodeString::UnicodeString(const icu_59::UnicodeString&, __int32_t, __int32_t) UnicodeString(const UnicodeString& src, int32_t srcStart, int32_t srcLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3388:3: note: candidate expects 3 arguments, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3379:3: note: icu_59::UnicodeString::UnicodeString(const icu_59::UnicodeString&, __int32_t) UnicodeString(const UnicodeString& src, int32_t srcStart); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3379:3: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3361:3: note: icu_59::UnicodeString::UnicodeString(const icu_59::UnicodeString&) UnicodeString(const UnicodeString& that); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3361:3: note: candidate expects 1 argument, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3342:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t, icu_59::UnicodeString::EInvariant) UnicodeString(const char *src, int32_t length, enum EInvariant inv); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3342:3: note: candidate expects 3 arguments, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3311:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t, UConverter*, UErrorCode&) UnicodeString( ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3311:3: note: candidate expects 4 arguments, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3288:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t, const char*) UnicodeString(const char *codepageData, int32_t dataLength, const char *codepage); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3288:3: note: candidate expects 3 arguments, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3269:3: note: icu_59::UnicodeString::UnicodeString(const char*, const char*) UnicodeString(const char *codepageData, const char *codepage); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3269:3: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const char*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3246:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t) UnicodeString(const char *codepageData, int32_t dataLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3246:3: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const char*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3236:31: note: icu_59::UnicodeString::UnicodeString(const char*) UNISTR_FROM_STRING_EXPLICIT UnicodeString(const char *codepageData); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3236:31: note: candidate expects 1 argument, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3179:3: note: icu_59::UnicodeString::UnicodeString(__uint16_t*, __int32_t, __int32_t) UnicodeString(uint16_t *buffer, int32_t buffLength, int32_t buffCapacity) : ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3179:3: note: candidate expects 3 arguments, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3142:3: note: icu_59::UnicodeString::UnicodeString(UBool, icu_59::ConstChar16Ptr, __int32_t) UnicodeString(UBool isTerminated, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3142:3: note: candidate expects 3 arguments, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3118:10: note: icu_59::UnicodeString::UnicodeString(int, __int32_t) inline UnicodeString(const std::nullptr_t text, int32_t length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3118:10: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'int' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3086:3: note: icu_59::UnicodeString::UnicodeString(const __uint16_t*, __int32_t) UnicodeString(const uint16_t *text, int32_t length) : ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3086:3: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const __uint16_t* {aka const short unsigned int*}' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3071:3: note: icu_59::UnicodeString::UnicodeString(const int*, __int32_t) UnicodeString(const char16_t *text, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3071:3: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3024:31: note: icu_59::UnicodeString::UnicodeString(const __uint16_t*) UNISTR_FROM_STRING_EXPLICIT UnicodeString(const uint16_t *text) : ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3024:31: note: candidate expects 1 argument, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3007:31: note: icu_59::UnicodeString::UnicodeString(const int*) UNISTR_FROM_STRING_EXPLICIT UnicodeString(const char16_t *text); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3007:31: note: candidate expects 1 argument, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2995:29: note: icu_59::UnicodeString::UnicodeString(UChar32) UNISTR_FROM_CHAR_EXPLICIT UnicodeString(UChar32 ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2995:29: note: candidate expects 1 argument, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2973:3: note: icu_59::UnicodeString::UnicodeString(__int32_t, UChar32, __int32_t) UnicodeString(int32_t capacity, UChar32 c, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2973:3: note: candidate expects 3 arguments, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2960:10: note: icu_59::UnicodeString::UnicodeString() inline UnicodeString(); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2960:10: note: candidate expects 0 arguments, 2 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In constructor 'icu_59::UnicodeString::UnicodeString(__uint16_t*, __int32_t, __int32_t)': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3180:64: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 [enabled by default] UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3180:64: error: no matching function for call to 'icu_59::UnicodeString::UnicodeString(icu_59::Char16Ptr, __int32_t&, __int32_t&)' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3180:64: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3388:3: note: icu_59::UnicodeString::UnicodeString(const icu_59::UnicodeString&, __int32_t, __int32_t) UnicodeString(const UnicodeString& src, int32_t srcStart, int32_t srcLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3388:3: note: no known conversion for argument 1 from 'icu_59::Char16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3379:3: note: icu_59::UnicodeString::UnicodeString(const icu_59::UnicodeString&, __int32_t) UnicodeString(const UnicodeString& src, int32_t srcStart); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3379:3: note: candidate expects 2 arguments, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3361:3: note: icu_59::UnicodeString::UnicodeString(const icu_59::UnicodeString&) UnicodeString(const UnicodeString& that); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3361:3: note: candidate expects 1 argument, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3342:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t, icu_59::UnicodeString::EInvariant) UnicodeString(const char *src, int32_t length, enum EInvariant inv); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3342:3: note: no known conversion for argument 1 from 'icu_59::Char16Ptr' to 'const char*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3311:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t, UConverter*, UErrorCode&) UnicodeString( ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3311:3: note: candidate expects 4 arguments, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3288:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t, const char*) UnicodeString(const char *codepageData, int32_t dataLength, const char *codepage); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3288:3: note: no known conversion for argument 1 from 'icu_59::Char16Ptr' to 'const char*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3269:3: note: icu_59::UnicodeString::UnicodeString(const char*, const char*) UnicodeString(const char *codepageData, const char *codepage); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3269:3: note: candidate expects 2 arguments, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3246:3: note: icu_59::UnicodeString::UnicodeString(const char*, __int32_t) UnicodeString(const char *codepageData, int32_t dataLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3246:3: note: candidate expects 2 arguments, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3236:31: note: icu_59::UnicodeString::UnicodeString(const char*) UNISTR_FROM_STRING_EXPLICIT UnicodeString(const char *codepageData); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3236:31: note: candidate expects 1 argument, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3179:3: note: icu_59::UnicodeString::UnicodeString(__uint16_t*, __int32_t, __int32_t) UnicodeString(uint16_t *buffer, int32_t buffLength, int32_t buffCapacity) : ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3179:3: note: no known conversion for argument 1 from 'icu_59::Char16Ptr' to '__uint16_t* {aka short unsigned int*}' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3142:3: note: icu_59::UnicodeString::UnicodeString(UBool, icu_59::ConstChar16Ptr, __int32_t) UnicodeString(UBool isTerminated, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3142:3: note: no known conversion for argument 1 from 'icu_59::Char16Ptr' to 'UBool {aka signed char}' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3118:10: note: icu_59::UnicodeString::UnicodeString(int, __int32_t) inline UnicodeString(const std::nullptr_t text, int32_t length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3118:10: note: candidate expects 2 arguments, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3086:3: note: icu_59::UnicodeString::UnicodeString(const __uint16_t*, __int32_t) UnicodeString(const uint16_t *text, int32_t length) : ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3086:3: note: candidate expects 2 arguments, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3071:3: note: icu_59::UnicodeString::UnicodeString(const int*, __int32_t) UnicodeString(const char16_t *text, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3071:3: note: candidate expects 2 arguments, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3024:31: note: icu_59::UnicodeString::UnicodeString(const __uint16_t*) UNISTR_FROM_STRING_EXPLICIT UnicodeString(const uint16_t *text) : ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3024:31: note: candidate expects 1 argument, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3007:31: note: icu_59::UnicodeString::UnicodeString(const int*) UNISTR_FROM_STRING_EXPLICIT UnicodeString(const char16_t *text); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3007:31: note: candidate expects 1 argument, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2995:29: note: icu_59::UnicodeString::UnicodeString(UChar32) UNISTR_FROM_CHAR_EXPLICIT UnicodeString(UChar32 ch); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2995:29: note: candidate expects 1 argument, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2973:3: note: icu_59::UnicodeString::UnicodeString(__int32_t, UChar32, __int32_t) UnicodeString(int32_t capacity, UChar32 c, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2973:3: note: no known conversion for argument 1 from 'icu_59::Char16Ptr' to '__int32_t {aka int}' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2960:10: note: icu_59::UnicodeString::UnicodeString() inline UnicodeString(); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:2960:10: note: candidate expects 0 arguments, 3 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3906:8: error: 'char16_t' does not name a type inline char16_t* ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3912:14: error: 'char16_t' does not name a type inline const char16_t* ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3927:43: error: 'nullptr_t' in namespace 'std' does not name a type inline UnicodeString::UnicodeString(const std::nullptr_t /*text*/) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3927:48: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive] inline UnicodeString::UnicodeString(const std::nullptr_t /*text*/) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3931:43: error: 'nullptr_t' in namespace 'std' does not name a type inline UnicodeString::UnicodeString(const std::nullptr_t /*text*/, int32_t /*length*/) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3931:48: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive] inline UnicodeString::UnicodeString(const std::nullptr_t /*text*/, int32_t /*length*/) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3935:42: error: ISO C++ forbids declaration of 'UnicodeString' with no type [-fpermissive] inline UnicodeString::UnicodeString(std::nullptr_t /*buffer*/, int32_t /*buffLength*/, int32_t /*buffCapacity*/) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3935:42: error: 'icu_59::UnicodeString::UnicodeString' declared as an 'inline' variable /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3935:42: error: 'int icu_59::UnicodeString::UnicodeString' is not a static member of 'class icu_59::UnicodeString' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3935:37: error: 'nullptr_t' is not a member of 'std' inline UnicodeString::UnicodeString(std::nullptr_t /*buffer*/, int32_t /*buffLength*/, int32_t /*buffCapacity*/) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3935:86: error: expected primary-expression before ',' token inline UnicodeString::UnicodeString(std::nullptr_t /*buffer*/, int32_t /*buffLength*/, int32_t /*buffCapacity*/) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3935:112: error: expected primary-expression before ')' token inline UnicodeString::UnicodeString(std::nullptr_t /*buffer*/, int32_t /*buffLength*/, int32_t /*buffCapacity*/) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3935:112: error: expression list treated as compound expression in initializer [-fpermissive] /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3935:114: error: expected ',' or ';' before '{' token inline UnicodeString::UnicodeString(std::nullptr_t /*buffer*/, int32_t /*buffLength*/, int32_t /*buffCapacity*/) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3985:14: error: 'char16_t' does not name a type inline const char16_t * ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function '__int8_t icu_59::UnicodeString::doCompare(__int32_t, __int32_t, const icu_59::UnicodeString&, __int32_t, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4010:49: error: 'const class icu_59::UnicodeString' has no member named 'getArrayStart' return doCompare(start, thisLength, srcText.getArrayStart(), srcStart, srcLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function '__int8_t icu_59::UnicodeString::compare(icu_59::ConstChar16Ptr, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4058:55: error: no matching function for call to 'icu_59::UnicodeString::doCompare(int, __int32_t, icu_59::ConstChar16Ptr&, int, __int32_t&) const' { return doCompare(0, length(), srcChars, 0, srcLength); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4058:55: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4000:1: note: __int8_t icu_59::UnicodeString::doCompare(__int32_t, __int32_t, const icu_59::UnicodeString&, __int32_t, __int32_t) const UnicodeString::doCompare(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4000:1: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3564:10: note: __int8_t icu_59::UnicodeString::doCompare(__int32_t, __int32_t, const int*, __int32_t, __int32_t) const int8_t doCompare(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3564:10: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4071:22: error: 'char16_t' does not name a type const char16_t *srcChars) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4071:32: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4077:22: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4077:32: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function '__int8_t icu_59::UnicodeString::doCompareCodePointOrder(__int32_t, __int32_t, const icu_59::UnicodeString&, __int32_t, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4102:63: error: 'const class icu_59::UnicodeString' has no member named 'getArrayStart' return doCompareCodePointOrder(start, thisLength, srcText.getArrayStart(), srcStart, srcLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function '__int8_t icu_59::UnicodeString::compareCodePointOrder(icu_59::ConstChar16Ptr, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4119:69: error: no matching function for call to 'icu_59::UnicodeString::doCompareCodePointOrder(int, __int32_t, icu_59::ConstChar16Ptr&, int, __int32_t&) const' { return doCompareCodePointOrder(0, length(), srcChars, 0, srcLength); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4119:69: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4092:1: note: __int8_t icu_59::UnicodeString::doCompareCodePointOrder(__int32_t, __int32_t, const icu_59::UnicodeString&, __int32_t, __int32_t) const UnicodeString::doCompareCodePointOrder(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4092:1: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3577:10: note: __int8_t icu_59::UnicodeString::doCompareCodePointOrder(__int32_t, __int32_t, const int*, __int32_t, __int32_t) const int8_t doCompareCodePointOrder(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3577:10: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4132:44: error: 'char16_t' does not name a type const char16_t *srcChars) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4132:54: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4138:44: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4138:54: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function '__int8_t icu_59::UnicodeString::doCaseCompare(__int32_t, __int32_t, const icu_59::UnicodeString&, __int32_t, __int32_t, __uint32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4164:53: error: 'const class icu_59::UnicodeString' has no member named 'getArrayStart' return doCaseCompare(start, thisLength, srcText.getArrayStart(), srcStart, srcLength, options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function '__int8_t icu_59::UnicodeString::caseCompare(icu_59::ConstChar16Ptr, __int32_t, __uint32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4185:68: error: no matching function for call to 'icu_59::UnicodeString::doCaseCompare(int, __int32_t, icu_59::ConstChar16Ptr&, int, __int32_t&, __uint32_t&) const' return doCaseCompare(0, length(), srcChars, 0, srcLength, options); ^ --- collator/collator_class.lo --- --- intl_convertcpp.lo --- /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4185:68: note: candidates are: --- collator/collator_class.lo --- /bin/sh /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/libtool --mode=compile gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/collator/collator_class.c -o collator/collator_class.lo --- intl_convertcpp.lo --- /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4153:1: note: __int8_t icu_59::UnicodeString::doCaseCompare(__int32_t, __int32_t, const icu_59::UnicodeString&, __int32_t, __int32_t, __uint32_t) const UnicodeString::doCaseCompare(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4153:1: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3592:3: note: __int8_t icu_59::UnicodeString::doCaseCompare(__int32_t, __int32_t, const int*, __int32_t, __int32_t, __uint32_t) const doCaseCompare(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3592:3: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4201:34: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4201:44: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4209:34: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4209:44: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function '__int32_t icu_59::UnicodeString::indexOf(const icu_59::UnicodeString&, __int32_t, __int32_t, __int32_t, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4236:30: error: 'const class icu_59::UnicodeString' has no member named 'getArrayStart' return indexOf(srcText.getArrayStart(), srcStart, srcLength, start, _length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4260:30: error: 'char16_t' does not name a type UnicodeString::indexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4260:40: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] UnicodeString::indexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function '__int32_t icu_59::UnicodeString::indexOf(icu_59::ConstChar16Ptr, __int32_t, __int32_t, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4272:56: error: no matching function for call to 'icu_59::UnicodeString::indexOf(icu_59::ConstChar16Ptr&, int, __int32_t&, __int32_t&, __int32_t&) const' { return indexOf(srcChars, 0, srcLength, start, _length); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4272:56: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4243:1: note: __int32_t icu_59::UnicodeString::indexOf(const icu_59::UnicodeString&) const UnicodeString::indexOf(const UnicodeString& text) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4243:1: note: candidate expects 1 argument, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4247:1: note: __int32_t icu_59::UnicodeString::indexOf(const icu_59::UnicodeString&, __int32_t) const UnicodeString::indexOf(const UnicodeString& text, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4247:1: note: candidate expects 2 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4254:1: note: __int32_t icu_59::UnicodeString::indexOf(const icu_59::UnicodeString&, __int32_t, __int32_t) const UnicodeString::indexOf(const UnicodeString& text, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4254:1: note: candidate expects 3 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4227:1: note: __int32_t icu_59::UnicodeString::indexOf(const icu_59::UnicodeString&, __int32_t, __int32_t, __int32_t, __int32_t) const UnicodeString::indexOf(const UnicodeString& srcText, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4227:1: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4260:1: note: __int32_t icu_59::UnicodeString::indexOf(const int*, __int32_t, __int32_t) const UnicodeString::indexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4260:1: note: candidate expects 3 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4268:1: note: __int32_t icu_59::UnicodeString::indexOf(icu_59::ConstChar16Ptr, __int32_t, __int32_t, __int32_t) const UnicodeString::indexOf(ConstChar16Ptr srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4268:1: note: candidate expects 4 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1062:11: note: __int32_t icu_59::UnicodeString::indexOf(const int*, __int32_t, __int32_t, __int32_t, __int32_t) const int32_t indexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1062:11: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1075:18: note: __int32_t icu_59::UnicodeString::indexOf(int) const inline int32_t indexOf(char16_t c) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1075:18: note: candidate expects 1 argument, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1095:18: note: __int32_t icu_59::UnicodeString::indexOf(int, __int32_t) const inline int32_t indexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1095:18: note: candidate expects 2 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1120:18: note: __int32_t icu_59::UnicodeString::indexOf(int, __int32_t, __int32_t) const inline int32_t indexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1120:18: note: candidate expects 3 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4275:24: error: 'icu_59::UnicodeString::indexOf' declared as an 'inline' variable UnicodeString::indexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4275:24: error: '__int32_t icu_59::UnicodeString::indexOf' is not a static member of 'class icu_59::UnicodeString' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4275:24: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4276:24: error: expected primary-expression before 'start' int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4277:24: error: expected primary-expression before '_length' int32_t _length) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4277:31: error: expression list treated as compound expression in initializer [-fpermissive] int32_t _length) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4277:33: error: expected ',' or ';' before 'const' int32_t _length) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4287:24: error: 'icu_59::UnicodeString::indexOf' declared as an 'inline' variable UnicodeString::indexOf(char16_t c) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4287:24: error: '__int32_t icu_59::UnicodeString::indexOf' is not a static member of 'class icu_59::UnicodeString' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4287:24: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4287:36: error: expected ',' or ';' before 'const' UnicodeString::indexOf(char16_t c) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4295:24: error: 'icu_59::UnicodeString::indexOf' declared as an 'inline' variable UnicodeString::indexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4295:24: error: '__int32_t icu_59::UnicodeString::indexOf' is not a static member of 'class icu_59::UnicodeString' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4295:24: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4296:24: error: expected primary-expression before 'start' int32_t start) const { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4296:29: error: expression list treated as compound expression in initializer [-fpermissive] int32_t start) const { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4296:31: error: expected ',' or ';' before 'const' int32_t start) const { ^ --- collator/collator_class.lo --- mkdir collator/.libs gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/collator/collator_class.c -fPIC -DPIC -o collator/.libs/collator_class.o --- intl_convertcpp.lo --- /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function '__int32_t icu_59::UnicodeString::lastIndexOf(icu_59::ConstChar16Ptr, __int32_t, __int32_t, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4313:60: error: no matching function for call to 'icu_59::UnicodeString::lastIndexOf(icu_59::ConstChar16Ptr&, int, __int32_t&, __int32_t&, __int32_t&) const' { return lastIndexOf(srcChars, 0, srcLength, start, _length); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4313:60: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1147:18: note: __int32_t icu_59::UnicodeString::lastIndexOf(const icu_59::UnicodeString&) const inline int32_t lastIndexOf(const UnicodeString& text) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1147:18: note: candidate expects 1 argument, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1158:18: note: __int32_t icu_59::UnicodeString::lastIndexOf(const icu_59::UnicodeString&, __int32_t) const inline int32_t lastIndexOf(const UnicodeString& text, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1158:18: note: candidate expects 2 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1172:18: note: __int32_t icu_59::UnicodeString::lastIndexOf(const icu_59::UnicodeString&, __int32_t, __int32_t) const inline int32_t lastIndexOf(const UnicodeString& text, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1172:18: note: candidate expects 3 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1192:18: note: __int32_t icu_59::UnicodeString::lastIndexOf(const icu_59::UnicodeString&, __int32_t, __int32_t, __int32_t, __int32_t) const inline int32_t lastIndexOf(const UnicodeString& srcText, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1192:18: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1208:18: note: __int32_t icu_59::UnicodeString::lastIndexOf(const int*, __int32_t, __int32_t) const inline int32_t lastIndexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1208:18: note: candidate expects 3 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4309:1: note: __int32_t icu_59::UnicodeString::lastIndexOf(icu_59::ConstChar16Ptr, __int32_t, __int32_t, __int32_t) const UnicodeString::lastIndexOf(ConstChar16Ptr srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4309:1: note: candidate expects 4 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1245:11: note: __int32_t icu_59::UnicodeString::lastIndexOf(const int*, __int32_t, __int32_t, __int32_t, __int32_t) const int32_t lastIndexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1245:11: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1258:18: note: __int32_t icu_59::UnicodeString::lastIndexOf(int) const inline int32_t lastIndexOf(char16_t c) const; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1258:18: note: candidate expects 1 argument, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1278:18: note: __int32_t icu_59::UnicodeString::lastIndexOf(int, __int32_t) const inline int32_t lastIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1278:18: note: candidate expects 2 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1303:18: note: __int32_t icu_59::UnicodeString::lastIndexOf(int, __int32_t, __int32_t) const inline int32_t lastIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:1303:18: note: candidate expects 3 arguments, 5 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4316:34: error: 'char16_t' does not name a type UnicodeString::lastIndexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4316:44: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] UnicodeString::lastIndexOf(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function '__int32_t icu_59::UnicodeString::lastIndexOf(const icu_59::UnicodeString&, __int32_t, __int32_t, __int32_t, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4333:34: error: 'const class icu_59::UnicodeString' has no member named 'getArrayStart' return lastIndexOf(srcText.getArrayStart(), srcStart, srcLength, start, _length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4357:28: error: 'icu_59::UnicodeString::lastIndexOf' declared as an 'inline' variable UnicodeString::lastIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4357:28: error: '__int32_t icu_59::UnicodeString::lastIndexOf' is not a static member of 'class icu_59::UnicodeString' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4357:28: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4358:24: error: expected primary-expression before 'start' int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4359:24: error: expected primary-expression before '_length' int32_t _length) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4359:31: error: expression list treated as compound expression in initializer [-fpermissive] int32_t _length) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4359:33: error: expected ',' or ';' before 'const' int32_t _length) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4370:28: error: 'icu_59::UnicodeString::lastIndexOf' declared as an 'inline' variable UnicodeString::lastIndexOf(char16_t c) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4370:28: error: '__int32_t icu_59::UnicodeString::lastIndexOf' is not a static member of 'class icu_59::UnicodeString' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4370:28: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4370:40: error: expected ',' or ';' before 'const' UnicodeString::lastIndexOf(char16_t c) const ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4379:28: error: 'icu_59::UnicodeString::lastIndexOf' declared as an 'inline' variable UnicodeString::lastIndexOf(char16_t c, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4379:28: error: '__int32_t icu_59::UnicodeString::lastIndexOf' is not a static member of 'class icu_59::UnicodeString' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4379:28: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4380:24: error: expected primary-expression before 'start' int32_t start) const { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4380:29: error: expression list treated as compound expression in initializer [-fpermissive] int32_t start) const { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4380:31: error: expected ',' or ';' before 'const' int32_t start) const { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function 'UBool icu_59::UnicodeString::startsWith(icu_59::ConstChar16Ptr, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4405:45: error: 'toUCharPtr' was not declared in this scope srcLength = u_strlen(toUCharPtr(srcChars)); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4407:56: error: no matching function for call to 'icu_59::UnicodeString::doCompare(int, __int32_t&, icu_59::ConstChar16Ptr&, int, __int32_t&) const' return doCompare(0, srcLength, srcChars, 0, srcLength) == 0; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4407:56: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4000:1: note: __int8_t icu_59::UnicodeString::doCompare(__int32_t, __int32_t, const icu_59::UnicodeString&, __int32_t, __int32_t) const UnicodeString::doCompare(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4000:1: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3564:10: note: __int8_t icu_59::UnicodeString::doCompare(__int32_t, __int32_t, const int*, __int32_t, __int32_t) const int8_t doCompare(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3564:10: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4411:33: error: 'char16_t' does not name a type UnicodeString::startsWith(const char16_t *srcChars, int32_t srcStart, int32_t srcLength) const { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4411:43: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] UnicodeString::startsWith(const char16_t *srcChars, int32_t srcStart, int32_t srcLength) const { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function 'UBool icu_59::UnicodeString::startsWith(const int*, __int32_t, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4413:45: error: 'toUCharPtr' was not declared in this scope srcLength = u_strlen(toUCharPtr(srcChars)); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function 'UBool icu_59::UnicodeString::endsWith(icu_59::ConstChar16Ptr, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4436:45: error: 'toUCharPtr' was not declared in this scope srcLength = u_strlen(toUCharPtr(srcChars)); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4439:42: error: no matching function for call to 'icu_59::UnicodeString::doCompare(__int32_t, __int32_t&, icu_59::ConstChar16Ptr&, int, __int32_t&) const' srcChars, 0, srcLength) == 0; ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4439:42: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4000:1: note: __int8_t icu_59::UnicodeString::doCompare(__int32_t, __int32_t, const icu_59::UnicodeString&, __int32_t, __int32_t) const UnicodeString::doCompare(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4000:1: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3564:10: note: __int8_t icu_59::UnicodeString::doCompare(__int32_t, __int32_t, const int*, __int32_t, __int32_t) const int8_t doCompare(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3564:10: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4443:31: error: 'char16_t' does not name a type UnicodeString::endsWith(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4443:41: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] UnicodeString::endsWith(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function 'UBool icu_59::UnicodeString::endsWith(const int*, __int32_t, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4447:56: error: 'toUCharPtr' was not declared in this scope srcLength = u_strlen(toUCharPtr(srcChars + srcStart)); ^ --- collator/collator_sort.lo --- /bin/sh /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/libtool --mode=compile gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/collator/collator_sort.c -o collator/collator_sort.lo --- intl_convertcpp.lo --- /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function 'icu_59::UnicodeString& icu_59::UnicodeString::replace(__int32_t, __int32_t, icu_59::ConstChar16Ptr, __int32_t)': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4475:58: error: no matching function for call to 'icu_59::UnicodeString::doReplace(__int32_t&, __int32_t&, icu_59::ConstChar16Ptr&, int, __int32_t&)' { return doReplace(start, _length, srcChars, 0, srcLength); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4475:58: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3626:18: note: icu_59::UnicodeString& icu_59::UnicodeString::doReplace(__int32_t, __int32_t, const icu_59::UnicodeString&, __int32_t, __int32_t) UnicodeString& doReplace(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3626:18: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3632:18: note: icu_59::UnicodeString& icu_59::UnicodeString::doReplace(__int32_t, __int32_t, const int*, __int32_t, __int32_t) UnicodeString& doReplace(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3632:18: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4480:22: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4480:32: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4488:16: error: 'char16_t' has not been declared char16_t srcChar) ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function 'void icu_59::UnicodeString::extract(__int32_t, __int32_t, icu_59::Char16Ptr, __int32_t) const': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4533:48: error: no matching function for call to 'icu_59::UnicodeString::doExtract(__int32_t&, __int32_t&, icu_59::Char16Ptr&, __int32_t&) const' { doExtract(start, _length, target, targetStart); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4533:48: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3615:8: note: void icu_59::UnicodeString::doExtract(__int32_t, __int32_t, int*, __int32_t) const void doExtract(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3615:8: note: no known conversion for argument 3 from 'icu_59::Char16Ptr' to 'int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4523:1: note: void icu_59::UnicodeString::doExtract(__int32_t, __int32_t, icu_59::UnicodeString&) const UnicodeString::doExtract(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4523:1: note: candidate expects 3 arguments, 4 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3696:11: note: __int32_t icu_59::UnicodeString::doExtract(__int32_t, __int32_t, char*, __int32_t, UConverter*, UErrorCode&) const int32_t doExtract(int32_t start, int32_t length, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3696:11: note: candidate expects 6 arguments, 4 provided /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4559:19: error: 'char16_t' has not been declared char16_t *dst, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4571:8: error: 'char16_t' does not name a type inline char16_t ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4581:8: error: 'char16_t' does not name a type inline char16_t ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4585:8: error: 'char16_t' does not name a type inline char16_t ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4626:25: error: variable or field 'setArray' declared void UnicodeString::setArray(char16_t *array, int32_t len, int32_t capacity) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4626:25: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4626:35: error: 'array' was not declared in this scope UnicodeString::setArray(char16_t *array, int32_t len, int32_t capacity) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4626:50: error: expected primary-expression before 'len' UnicodeString::setArray(char16_t *array, int32_t len, int32_t capacity) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4626:63: error: expected primary-expression before 'capacity' UnicodeString::setArray(char16_t *array, int32_t len, int32_t capacity) { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4633:27: error: declaration of 'operator=' as non-function UnicodeString::operator= (char16_t ch) ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4633:27: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4665:28: error: 'char16_t' does not name a type UnicodeString::setTo(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4665:38: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] UnicodeString::setTo(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4673:22: error: 'icu_59::UnicodeString::setTo' declared as an 'inline' variable UnicodeString::setTo(char16_t srcChar) ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4673:22: error: 'icu_59::UnicodeString& icu_59::UnicodeString::setTo' is not a static member of 'class icu_59::UnicodeString' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4673:22: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4674:1: error: expected ',' or ';' before '{' token { ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4697:29: error: 'char16_t' does not name a type UnicodeString::append(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4697:39: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] UnicodeString::append(const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function 'icu_59::UnicodeString& icu_59::UnicodeString::append(icu_59::ConstChar16Ptr, __int32_t)': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4705:41: error: no matching function for call to 'icu_59::UnicodeString::doAppend(icu_59::ConstChar16Ptr&, int, __int32_t&)' { return doAppend(srcChars, 0, srcLength); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4705:41: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3638:18: note: icu_59::UnicodeString& icu_59::UnicodeString::doAppend(const icu_59::UnicodeString&, __int32_t, __int32_t) UnicodeString& doAppend(const UnicodeString& src, int32_t srcStart, int32_t srcLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3638:18: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3639:18: note: icu_59::UnicodeString& icu_59::UnicodeString::doAppend(const int*, __int32_t, __int32_t) UnicodeString& doAppend(const char16_t *srcChars, int32_t srcStart, int32_t srcLength); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3639:18: note: no known conversion for argument 1 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4708:23: error: 'icu_59::UnicodeString::append' declared as an 'inline' variable UnicodeString::append(char16_t srcChar) ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4708:23: error: 'icu_59::UnicodeString& icu_59::UnicodeString::append' is not a static member of 'class icu_59::UnicodeString' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4708:23: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4709:1: error: expected ',' or ';' before '{' token { return doAppend(&srcChar, 0, 1); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4712:28: error: declaration of 'operator+=' as non-function UnicodeString::operator+= (char16_t ch) ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4712:28: error: 'char16_t' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4738:21: error: 'char16_t' does not name a type const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4738:31: error: ISO C++ forbids declaration of 'srcChars' with no type [-fpermissive] const char16_t *srcChars, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: In member function 'icu_59::UnicodeString& icu_59::UnicodeString::insert(__int32_t, icu_59::ConstChar16Ptr, __int32_t)': /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4747:52: error: no matching function for call to 'icu_59::UnicodeString::doReplace(__int32_t&, int, icu_59::ConstChar16Ptr&, int, __int32_t&)' { return doReplace(start, 0, srcChars, 0, srcLength); } ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4747:52: note: candidates are: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3626:18: note: icu_59::UnicodeString& icu_59::UnicodeString::doReplace(__int32_t, __int32_t, const icu_59::UnicodeString&, __int32_t, __int32_t) UnicodeString& doReplace(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3626:18: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const icu_59::UnicodeString&' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3632:18: note: icu_59::UnicodeString& icu_59::UnicodeString::doReplace(__int32_t, __int32_t, const int*, __int32_t, __int32_t) UnicodeString& doReplace(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:3632:18: note: no known conversion for argument 3 from 'icu_59::ConstChar16Ptr' to 'const int*' /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h: At global scope: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4751:15: error: 'char16_t' has not been declared char16_t srcChar) ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4755:1: error: redefinition of 'icu_59::UnicodeString& icu_59::UnicodeString::insert(__int32_t, UChar32)' UnicodeString::insert(int32_t start, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:4750:1: error: 'icu_59::UnicodeString& icu_59::UnicodeString::insert(__int32_t, int)' previously defined here UnicodeString::insert(int32_t start, ^ In file included from /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:22:0, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:22: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/putil.h:159:33: error: 'UChar' has not been declared u_charsToUChars(const char *cs, UChar *us, int32_t length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/putil.h:181:23: error: 'UChar' does not name a type u_UCharsToChars(const UChar *us, char *cs, int32_t length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/putil.h:181:30: error: ISO C++ forbids declaration of 'us' with no type [-fpermissive] u_UCharsToChars(const UChar *us, char *cs, int32_t length); ^ In file included from /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:23:0, from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:22: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/uiter.h:594:44: error: 'UChar' does not name a type uiter_setString(UCharIterator *iter, const UChar *s, int32_t length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/uiter.h:594:51: error: ISO C++ forbids declaration of 's' with no type [-fpermissive] uiter_setString(UCharIterator *iter, const UChar *s, int32_t length); --- collator/collator.lo --- gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/collator/collator.c -fPIC -DPIC -o collator/.libs/collator.o --- intl_convertcpp.lo --- ^ In file included from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:22:0: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:93:16: error: 'UChar' does not name a type u_strlen(const UChar *s); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:93:23: error: ISO C++ forbids declaration of 's' with no type [-fpermissive] u_strlen(const UChar *s); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:110:21: error: 'UChar' does not name a type u_countChar32(const UChar *s, int32_t length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:110:28: error: ISO C++ forbids declaration of 's' with no type [-fpermissive] u_countChar32(const UChar *s, int32_t length); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:131:30: error: 'UChar' does not name a type u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:131:37: error: ISO C++ forbids declaration of 's' with no type [-fpermissive] u_strHasMoreChar32Than(const UChar *s, int32_t length, int32_t number); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:143:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:161:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:186:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:210:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:230:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:250:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:273:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:297:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:317:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:337:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:352:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:369:17: error: 'UChar' does not name a type u_strcspn(const UChar *string, const UChar *matchSet); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:369:24: error: ISO C++ forbids declaration of 'string' with no type [-fpermissive] u_strcspn(const UChar *string, const UChar *matchSet); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:369:38: error: 'UChar' does not name a type u_strcspn(const UChar *string, const UChar *matchSet); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:369:45: error: ISO C++ forbids declaration of 'matchSet' with no type [-fpermissive] u_strcspn(const UChar *string, const UChar *matchSet); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:385:16: error: 'UChar' does not name a type u_strspn(const UChar *string, const UChar *matchSet); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:385:23: error: ISO C++ forbids declaration of 'string' with no type [-fpermissive] u_strspn(const UChar *string, const UChar *matchSet); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:385:37: error: 'UChar' does not name a type u_strspn(const UChar *string, const UChar *matchSet); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:385:44: error: ISO C++ forbids declaration of 'matchSet' with no type [-fpermissive] u_strspn(const UChar *string, const UChar *matchSet); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:412:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:428:16: error: 'UChar' does not name a type u_strcmp(const UChar *s1, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:428:27: error: ISO C++ forbids declaration of 's1' with no type [-fpermissive] u_strcmp(const UChar *s1, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:429:16: error: 'UChar' does not name a type const UChar *s2); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:429:27: error: ISO C++ forbids declaration of 's2' with no type [-fpermissive] const UChar *s2); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:443:30: error: 'UChar' does not name a type u_strcmpCodePointOrder(const UChar *s1, const UChar *s2); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:443:37: error: ISO C++ forbids declaration of 's1' with no type [-fpermissive] u_strcmpCodePointOrder(const UChar *s1, const UChar *s2); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:443:47: error: 'UChar' does not name a type u_strcmpCodePointOrder(const UChar *s1, const UChar *s2); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:443:54: error: ISO C++ forbids declaration of 's2' with no type [-fpermissive] u_strcmpCodePointOrder(const UChar *s1, const UChar *s2); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:473:20: error: 'UChar' does not name a type u_strCompare(const UChar *s1, int32_t length1, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:473:27: error: ISO C++ forbids declaration of 's1' with no type [-fpermissive] u_strCompare(const UChar *s1, int32_t length1, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:474:20: error: 'UChar' does not name a type const UChar *s2, int32_t length2, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:474:27: error: ISO C++ forbids declaration of 's2' with no type [-fpermissive] const UChar *s2, int32_t length2, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:551:24: error: 'UChar' does not name a type u_strCaseCompare(const UChar *s1, int32_t length1, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:551:31: error: ISO C++ forbids declaration of 's1' with no type [-fpermissive] u_strCaseCompare(const UChar *s1, int32_t length1, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:552:24: error: 'UChar' does not name a type const UChar *s2, int32_t length2, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:552:31: error: ISO C++ forbids declaration of 's2' with no type [-fpermissive] const UChar *s2, int32_t length2, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:569:17: error: 'UChar' does not name a type u_strncmp(const UChar *ucs1, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:569:28: error: ISO C++ forbids declaration of 'ucs1' with no type [-fpermissive] u_strncmp(const UChar *ucs1, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:570:12: error: 'UChar' does not name a type const UChar *ucs2, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:570:23: error: ISO C++ forbids declaration of 'ucs2' with no type [-fpermissive] const UChar *ucs2, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:587:31: error: 'UChar' does not name a type u_strncmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t n); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:587:38: error: ISO C++ forbids declaration of 's1' with no type [-fpermissive] u_strncmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t n); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:587:48: error: 'UChar' does not name a type u_strncmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t n); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:587:55: error: ISO C++ forbids declaration of 's2' with no type [-fpermissive] u_strncmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t n); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:609:20: error: 'UChar' does not name a type u_strcasecmp(const UChar *s1, const UChar *s2, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:609:27: error: ISO C++ forbids declaration of 's1' with no type [-fpermissive] u_strcasecmp(const UChar *s1, const UChar *s2, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:609:37: error: 'UChar' does not name a type u_strcasecmp(const UChar *s1, const UChar *s2, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:609:44: error: ISO C++ forbids declaration of 's2' with no type [-fpermissive] u_strcasecmp(const UChar *s1, const UChar *s2, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:633:21: error: 'UChar' does not name a type u_strncasecmp(const UChar *s1, const UChar *s2, int32_t n, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:633:28: error: ISO C++ forbids declaration of 's1' with no type [-fpermissive] u_strncasecmp(const UChar *s1, const UChar *s2, int32_t n, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:633:38: error: 'UChar' does not name a type u_strncasecmp(const UChar *s1, const UChar *s2, int32_t n, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:633:45: error: ISO C++ forbids declaration of 's2' with no type [-fpermissive] u_strncasecmp(const UChar *s1, const UChar *s2, int32_t n, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:657:20: error: 'UChar' does not name a type u_memcasecmp(const UChar *s1, const UChar *s2, int32_t length, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:657:27: error: ISO C++ forbids declaration of 's1' with no type [-fpermissive] u_memcasecmp(const UChar *s1, const UChar *s2, int32_t length, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:657:37: error: 'UChar' does not name a type u_memcasecmp(const UChar *s1, const UChar *s2, int32_t length, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:657:44: error: ISO C++ forbids declaration of 's2' with no type [-fpermissive] u_memcasecmp(const UChar *s1, const UChar *s2, int32_t length, uint32_t options); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:667:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:682:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:699:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 u_uastrcpy(UChar *dst, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:714:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 u_uastrncpy(UChar *dst, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:729:19: error: 'UChar' does not name a type const UChar *src ); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:729:26: error: ISO C++ forbids declaration of 'src' with no type [-fpermissive] const UChar *src ); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:744:19: error: 'UChar' does not name a type const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:744:26: error: ISO C++ forbids declaration of 'src' with no type [-fpermissive] const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:757:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:768:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:780:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:795:16: error: 'UChar' does not name a type u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:795:23: error: ISO C++ forbids declaration of 'buf1' with no type [-fpermissive] u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:795:35: error: 'UChar' does not name a type u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:795:42: error: ISO C++ forbids declaration of 'buf2' with no type [-fpermissive] u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:811:30: error: 'UChar' does not name a type u_memcmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:811:37: error: ISO C++ forbids declaration of 's1' with no type [-fpermissive] u_memcmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:811:47: error: 'UChar' does not name a type u_memcmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:811:54: error: ISO C++ forbids declaration of 's2' with no type [-fpermissive] u_memcmpCodePointOrder(const UChar *s1, const UChar *s2, int32_t count); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:830:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:850:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:870:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:890:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ In file included from /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:22:0: /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1010:12: error: 'UChar' has not been declared UChar *dest, int32_t destCapacity); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1025:15: error: ISO C++ forbids declaration of 'UChar' with no type [-fpermissive] typedef UChar (U_CALLCONV *UNESCAPE_CHAR_AT)(int32_t offset, void *context); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1025:15: error: typedef 'UChar' is initialized (use decltype instead) /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1025:28: error: 'UNESCAPE_CHAR_AT' was not declared in this scope typedef UChar (U_CALLCONV *UNESCAPE_CHAR_AT)(int32_t offset, void *context); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1057:14: warning: 'u_unescapeAt_59' initialized and declared 'extern' [enabled by default] u_unescapeAt(UNESCAPE_CHAR_AT charAt, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1057:14: error: 'UNESCAPE_CHAR_AT' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1058:22: error: expected primary-expression before '*' token int32_t *offset, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1058:23: error: 'offset' was not declared in this scope int32_t *offset, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1059:22: error: expected primary-expression before 'length' int32_t length, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1060:14: error: expected primary-expression before 'void' void *context); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1060:27: error: expression list treated as compound expression in initializer [-fpermissive] void *context); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1083:14: warning: 'u_strToUpper_59' initialized and declared 'extern' [enabled by default] u_strToUpper(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1083:14: error: 'UChar' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1083:21: error: 'dest' was not declared in this scope u_strToUpper(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1083:35: error: expected primary-expression before 'destCapacity' u_strToUpper(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1084:14: error: expected primary-expression before 'const' const UChar *src, int32_t srcLength, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1084:40: error: expected primary-expression before 'srcLength' const UChar *src, int32_t srcLength, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1085:14: error: expected primary-expression before 'const' const char *locale, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1086:25: error: expected primary-expression before '*' token UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1086:26: error: 'pErrorCode' was not declared in this scope UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1086:36: error: expression list treated as compound expression in initializer [-fpermissive] UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1109:14: warning: 'u_strToLower_59' initialized and declared 'extern' [enabled by default] u_strToLower(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1109:14: error: 'UChar' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1109:21: error: 'dest' was not declared in this scope u_strToLower(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1109:35: error: expected primary-expression before 'destCapacity' u_strToLower(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1110:14: error: expected primary-expression before 'const' const UChar *src, int32_t srcLength, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1110:40: error: expected primary-expression before 'srcLength' const UChar *src, int32_t srcLength, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1111:14: error: expected primary-expression before 'const' const char *locale, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1112:25: error: expected primary-expression before '*' token UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1112:26: error: 'pErrorCode' was not declared in this scope UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1112:36: error: expression list treated as compound expression in initializer [-fpermissive] UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1155:14: warning: 'u_strToTitle_59' initialized and declared 'extern' [enabled by default] u_strToTitle(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1155:14: error: 'UChar' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1155:21: error: 'dest' was not declared in this scope u_strToTitle(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1155:35: error: expected primary-expression before 'destCapacity' u_strToTitle(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1156:14: error: expected primary-expression before 'const' const UChar *src, int32_t srcLength, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1156:40: error: expected primary-expression before 'srcLength' const UChar *src, int32_t srcLength, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1157:29: error: expected primary-expression before '*' token UBreakIterator *titleIter, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1157:30: error: 'titleIter' was not declared in this scope UBreakIterator *titleIter, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1158:14: error: expected primary-expression before 'const' const char *locale, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1159:25: error: expected primary-expression before '*' token UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1159:26: error: 'pErrorCode' was not declared in this scope UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1159:36: error: expression list treated as compound expression in initializer [-fpermissive] UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1188:15: warning: 'u_strFoldCase_59' initialized and declared 'extern' [enabled by default] u_strFoldCase(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1188:15: error: 'UChar' was not declared in this scope /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1188:22: error: 'dest' was not declared in this scope u_strFoldCase(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1188:36: error: expected primary-expression before 'destCapacity' u_strFoldCase(UChar *dest, int32_t destCapacity, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1189:15: error: expected primary-expression before 'const' const UChar *src, int32_t srcLength, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1189:41: error: expected primary-expression before 'srcLength' const UChar *src, int32_t srcLength, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1190:24: error: expected primary-expression before 'options' uint32_t options, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1191:26: error: expected primary-expression before '*' token UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1191:27: error: 'pErrorCode' was not declared in this scope UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1191:37: error: expression list treated as compound expression in initializer [-fpermissive] UErrorCode *pErrorCode); ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1220:18: error: 'UChar' does not name a type const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1220:25: error: ISO C++ forbids declaration of 'src' with no type [-fpermissive] const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1245:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1280:19: error: 'UChar' does not name a type const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1280:26: error: ISO C++ forbids declaration of 'src' with no type [-fpermissive] const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1306:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1353:19: error: 'UChar' does not name a type const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1353:26: error: ISO C++ forbids declaration of 'src' with no type [-fpermissive] const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1394:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1454:10: error: 'UChar' does not name a type U_STABLE UChar * U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1488:20: error: 'UChar' does not name a type const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1488:27: error: ISO C++ forbids declaration of 'src' with no type [-fpermissive] const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1514:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1561:20: error: 'UChar' does not name a type const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1561:27: error: ISO C++ forbids declaration of 'src' with no type [-fpermissive] const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1601:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1647:15: error: 'UChar' does not name a type const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1647:22: error: ISO C++ forbids declaration of 'src' with no type [-fpermissive] const UChar *src, ^ /data/scratch/textproc/php-intl/work/.buildlink/include/unicode/ustring.h:1692:10: error: 'UChar' does not name a type U_STABLE UChar* U_EXPORT2 ^ /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp: In function 'int intl_stringFromChar(icu_59::UnicodeString&, char*, __int32_t, UErrorCode*)': /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:35:2: error: 'UChar' was not declared in this scope UChar *utf16 = ret.getBuffer(capacity); ^ /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:35:9: error: 'utf16' was not declared in this scope UChar *utf16 = ret.getBuffer(capacity); ^ /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:35:21: error: 'class icu_59::UnicodeString' has no member named 'getBuffer' UChar *utf16 = ret.getBuffer(capacity); ^ /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:40:9: error: 'u_strFromUTF8WithSub_59' was not declared in this scope status); ^ /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp: In function 'int intl_charFromString(const icu_59::UnicodeString&, char**, int*, UErrorCode*)': /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:74:8: error: 'UChar' does not name a type const UChar *utf16buf = from.getBuffer(); ^ /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/intl_convertcpp.cpp:76:54: error: 'utf16buf' was not declared in this scope u_strToUTF8WithSub(*res, capacity - 1, &actual_len, utf16buf, from.length(), ^ *** [intl_convertcpp.lo] Error code 1 make: stopped in /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl --- collator/collator_sort.lo --- gcc -I/usr/pkg/include -Wno-write-strings -I. -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -DPHP_ATOM_INC -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/include -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/main -I/data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -c /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl/collator/collator_sort.c -fPIC -DPIC -o collator/.libs/collator_sort.o 1 error make: stopped in /data/scratch/textproc/php-intl/work/php-5.6.30/ext/intl *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc-current/textproc/php-intl *** Error code 1 Stop. make: stopped in /data/pkgsrc-current/textproc/php-intl