Bug 222435 - lang/v8-devel: fails to set C++11 or later as required by ICU >= 59
Summary: lang/v8-devel: fails to set C++11 or later as required by ICU >= 59
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords: needs-patch
Depends on:
Blocks: 222433
  Show dependency treegraph
 
Reported: 2017-09-18 22:39 UTC by Jan Beich
Modified: 2018-02-09 09:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2017-09-18 22:39:17 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-02-09 09:13:53 UTC
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