From owner-freebsd-office@freebsd.org Tue Sep 12 22:13:57 2017 Return-Path: Delivered-To: freebsd-office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62C78E21861 for ; Tue, 12 Sep 2017 22:13:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4A24865749 for ; Tue, 12 Sep 2017 22:13:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 49888E21860; Tue, 12 Sep 2017 22:13:57 +0000 (UTC) Delivered-To: office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49280E2185F for ; Tue, 12 Sep 2017 22:13:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F54765748 for ; Tue, 12 Sep 2017 22:13:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8CMDuCt077510 for ; Tue, 12 Sep 2017 22:13:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 218788] devel/icu: Update to 59.1 Date: Tue, 12 Sep 2017 22:13:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? exp-run? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2017 22:13:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218788 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbeich@FreeBSD.org --- Comment #31 from Jan Beich --- Clang still works fine in C++98 mode because libc++ has surrogates for some C++11 features (e.g., nullptr). $ echo 'int main() {}' | clang++ -std=3Dgnu++98 -xc++ - -o /dev/null -isystem/usr/local/include/ -include unicode/unistr.h GCC fails to build ICU headers in C++98 mode. Not that anyone should care a= fter ports r449590 which upgraded default to C++14. However, the backout maybe wasn't necessary per bug 215770. $ echo 'int main() {}' | g++7 -std=3Dgnu++98 -xc++ - -o /dev/null -isystem/usr/local/include/ -include unicode/unistr.h In file included from /usr/local/include/unicode/unistr.h:33:0, from :31: /usr/local/include/unicode/char16ptr.h:69:37: error: expected ')' before 'p' inline Char16Ptr(std::nullptr_t p); ^ /usr/local/include/unicode/char16ptr.h:117:21: error: expected constructor, destructor, or type conversion before '(' token Char16Ptr::Char16Ptr(std::nullptr_t p) : p(p) {} ^ /usr/local/include/unicode/char16ptr.h:176:38: error: 'nullptr_t' in namesp= ace 'std' does not name a type inline ConstChar16Ptr(const std::nullptr_t p); ^~~~~~~~~ /usr/local/include/unicode/char16ptr.h:225:43: error: 'nullptr_t' in namesp= ace 'std' does not name a type ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p(p) {} ^~~~~~~~~ /usr/local/include/unicode/char16ptr.h: In constructor 'icu::ConstChar16Ptr::ConstChar16Ptr(int)': /usr/local/include/unicode/char16ptr.h:225:61: error: invalid conversion fr= om 'int' to 'const char16_t* {aka const short unsigned int*}' [-fpermissive] ConstChar16Ptr::ConstChar16Ptr(const std::nullptr_t p) : p(p) {} ^ In file included from :31:0: /usr/local/include/unicode/unistr.h: At global scope: /usr/local/include/unicode/unistr.h:3062:63: error: 'nullptr_t' in namespace 'std' does not name a type UNISTR_FROM_STRING_EXPLICIT inline UnicodeString(const std::nullptr_t te= xt); ^~~~~~~~~ /usr/local/include/unicode/unistr.h:3062:38: error: 'icu::UnicodeString::UnicodeString(int)' cannot be overloaded UNISTR_FROM_STRING_EXPLICIT inline UnicodeString(const std::nullptr_t te= xt); ^~~~~~~~~~~~~ /usr/local/include/unicode/unistr.h:2995:29: error: with 'icu::UnicodeString::UnicodeString(UChar32)' UNISTR_FROM_CHAR_EXPLICIT UnicodeString(UChar32 ch); ^~~~~~~~~~~~~ /usr/local/include/unicode/unistr.h:3118:35: error: 'nullptr_t' in namespace 'std' does not name a type inline UnicodeString(const std::nullptr_t text, int32_t length); ^~~~~~~~~ /usr/local/include/unicode/unistr.h:3213:39: error: expected ')' before 'buffer' inline UnicodeString(std::nullptr_t buffer, int32_t buffLength, int32_t buffCapacity); ^~~~~~ /usr/local/include/unicode/unistr.h:3927:48: error: 'nullptr_t' in namespace 'std' does not name a type inline UnicodeString::UnicodeString(const std::nullptr_t /*text*/) { ^~~~~~~~~ /usr/local/include/unicode/unistr.h:3931:48: error: 'nullptr_t' in namespace 'std' does not name a type inline UnicodeString::UnicodeString(const std::nullptr_t /*text*/, int32_t /*length*/) { ^~~~~~~~~ /usr/local/include/unicode/unistr.h:3935:42: error: 'int icu::UnicodeString::UnicodeString' is not a static data member of 'class icu::UnicodeString' inline UnicodeString::UnicodeString(std::nullptr_t /*buffer*/, int32_t /*buffLength*/, int32_t /*buffCapacity*/) { ^~~~~~~~~ /usr/local/include/unicode/unistr.h:3935:42: error: 'nullptr_t' is not a me= mber of 'std' /usr/local/include/unicode/unistr.h:3935:86: error: expected primary-expres= sion before ',' token inline UnicodeString::UnicodeString(std::nullptr_t /*buffer*/, int32_t /*buffLength*/, int32_t /*buffCapacity*/) { =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/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*/) { =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/include/unicode/unistr.h:3935:112: error: expression list treate= d as compound expression in initializer [-fpermissive] /usr/local/include/unicode/unistr.h: In member function 'const char16_t* icu::UnicodeString::getBuffer() const': /usr/local/include/unicode/unistr.h:3988:12: error: 'nullptr' was not decla= red in this scope return nullptr; ^~~~~~~ --=20 You are receiving this mail because: You are on the CC list for the bug.=