In file included from ../src/i18n.cc:8: In file included from /usr/local/include/unicode/brkiter.h:47: /usr/local/include/unicode/unistr.h:3025:7: error: delegating constructors are permitted only in C++11 UnicodeString(ConstChar16Ptr(text)) {} ^~~~~~~~~~~~~ /usr/local/include/unicode/unistr.h:3087:7: error: delegating constructors are permitted only in C++11 UnicodeString(ConstChar16Ptr(text), length) {} ^~~~~~~~~~~~~ /usr/local/include/unicode/unistr.h:3180:7: error: delegating constructors are permitted only in C++11 UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} ^~~~~~~~~~~~~ ../src/i18n.cc:160:32: error: pasting formed 'u"Etc/GMT"', an invalid preprocessing token if (canonical_time_zone == UNICODE_STRING_SIMPLE("Etc/GMT")) { ^ /usr/local/include/unicode/unistr.h:141:35: note: expanded from macro 'UNICODE_STRING_SIMPLE' #define UNICODE_STRING_SIMPLE(cs) UNICODE_STRING(cs, -1) ^ /usr/local/include/unicode/unistr.h:123:65: note: expanded from macro 'UNICODE_STRING' # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, u ## cs, _length) ^ [...] http://tpaste.us/Ynjz
A commit references this bug: Author: jbeich Date: Fri Feb 9 09:12:50 UTC 2018 New revision: 461290 URL: https://svnweb.freebsd.org/changeset/ports/461290 Log: devel/icu: drop C++98 compatibility workarounds Now that both USE_GCC and -CURRENT default to C++14 there's little reason to complicate maintenance. Revert r449685 to usher consumers into post-C++11 world. PR: 222433 222434 222435 Changes: head/databases/evolution-data-server/Makefile head/devel/icu/Makefile head/devel/icu/files/patch-common_unicode_platform.h head/devel/icu/files/patch-common_unicode_umachine.h head/devel/icu/files/patch-common_unicode_unistr.h head/devel/icu/files/patch-revert-r40077 head/devel/icu-le-hb/Makefile head/devel/pecl-intl/Makefile head/devel/php70-intl/Makefile head/devel/php71-intl/Makefile head/devel/php72-intl/Makefile head/games/openttd/Makefile head/lang/phantomjs/files/patch-src_qt_qtbase_config.tests_unix_icu_icu.pro head/lang/v8-devel/Makefile head/misc/sword/Makefile head/print/tex-xetex/Makefile head/print/texlive-base/Makefile head/sysutils/gdisk/Makefile head/www/cppcms/Makefile