From owner-freebsd-office@freebsd.org Sat Jan 13 08:34:42 2018 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 64A12E7D830 for ; Sat, 13 Jan 2018 08:34:42 +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 44B787C081 for ; Sat, 13 Jan 2018 08:34:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4402DE7D82F; Sat, 13 Jan 2018 08:34:42 +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 43848E7D82E for ; Sat, 13 Jan 2018 08:34:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A95C7C080 for ; Sat, 13 Jan 2018 08:34:42 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1E85A1F905 for ; Sat, 13 Jan 2018 08:34:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0D8Yf2E057038 for ; Sat, 13 Jan 2018 08:34:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0D8Yfe3057028 for office@FreeBSD.org; Sat, 13 Jan 2018 08:34:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: maintainer-feedback requested: [Bug 225129] editors/openoffice-4: fails to build with clang 6.0 Date: Sat, 13 Jan 2018 08:34:41 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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.25 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jan 2018 08:34:42 -0000 Jan Beich has reassigned Bugzilla Automation 's request for maintainer-feedback to office@FreeBSD.= org: Bug 225129: editors/openoffice-4: fails to build with clang 6.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225129 --- Description --- FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing th= is port failed to build. vcl/unx/generic/app/wmadaptor.cxx:2525:85: error: non-constant-expression cannot be narrowed from type 'sal_Int32' (aka 'int') to 'unsigned long' in initializer list [-Wc++11-narrowing] XTextProperty aClientProp =3D { (unsigned char*)aWmClient.getStr(), XA_STRING, 8, aWmClient.getLength() }; =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~ vcl/unx/generic/app/wmadaptor.cxx:2525:85: note: insert an explicit cast to silence this issue XTextProperty aClientProp =3D { (unsigned char*)aWmClient.getStr(), XA_STRING, 8, aWmClient.getLength() }; =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~ =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 static_cast( ) connectivity/source/parse/PColumn.cxx:176:156: error: reinterpret_cast from 'nullptr_t' to 'sal_Bool *' (aka 'unsigned char *') is not allowed =20=20=20=20=20=20=20 registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_F= UNCT ION), PROPERTY_ID_FUNCTION, 0,=20 &m_bFunction, ::getCppuType(reinterpret_cast< sal_Bool*>(NULL))); =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connectivity/source/parse/PColumn.cxx:177:171: error: reinterpret_cast from 'nullptr_t' to 'sal_Bool *' (aka 'unsigned char *') is not allowed =20=20=20=20=20=20=20 registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_A= GGRE GATEFUNCTION), PROPERTY_ID_AGGREGATEFUNCTION, 0, &m_bAggregateFunction,=20=20=20 ::getCppuType(reinterpret_cast< sal_Bool*>(NULL))); =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connectivity/source/parse/PColumn.cxx:178:159: error: reinterpret_cast from 'nullptr_t' to '::rtl::OUString *' is not allowed =20=20=20=20=20=20=20 registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_T= ABLE NAME), PROPERTY_ID_TABLENAME, 0,=20 &m_aTableName, ::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL))); =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connectivity/source/parse/PColumn.cxx:179:156: error: reinterpret_cast from 'nullptr_t' to '::rtl::OUString *' is not allowed =20=20=20=20=20=20=20 registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_R= EALN AME), PROPERTY_ID_REALNAME, 0,=20 &m_aRealName, ::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL))); =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connectivity/source/parse/PColumn.cxx:180:180: error: reinterpret_cast from 'nullptr_t' to 'sal_Bool *' (aka 'unsigned char *') is not allowed =20=20=20=20=20=20=20 registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_D= BASE PRECISIONCHANGED), PROPERTY_ID_DBASEPRECISIONCHANGED, 0, &m_bDbasePrecisionChanged= ,=20 ::getCppuType(reinterpret_cast(NULL))); =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connectivity/source/parse/PColumn.cxx:181:176: error: reinterpret_cast from 'nullptr_t' to 'sal_Bool *' (aka 'unsigned char *') is not allowed =20=20=20 registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_I= SSEA RCHABLE), PROPERTY_ID_ISSEARCHABLE, 0,=20 &m_bIsSearchable, ::getCppuType(reinterpret_cast< sal_Bool*>(NULL))); =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connectivity/source/parse/PColumn.cxx:182:162: error: reinterpret_cast from 'nullptr_t' to '::rtl::OUString *' is not allowed =20=20=20 registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_L= ABEL ), PROPERTY_ID_LABEL,=09=09=09=20=20=20=20=20 0, &m_sLabel, ::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL))); =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 =09=09=09=09=09=09=09=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connectivity/source/parse/PColumn.cxx:268:99: error: reinterpret_cast from 'nullptr_t' to 'sal_Bool *' (aka 'unsigned char *') is not allowed PropertyAttribute::READONLY, const_cast< sal_Bool* >( &m_bAscending ), ::getCppuType( reinterpret_cast< sal_Bool* >( NULL ) ) ); =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connectivity/source/parse/PColumn.cxx:270:103: error: reinterpret_cast from 'nullptr_t' to '::rtl::OUString *' is not allowed PropertyAttribute::READONLY, const_cast< ::rtl::OUString* >( &m_sTableName ), ::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL))); =09=09=09=09=09=09=09=09=09=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To reproduce: $ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m svn+https $ poudriere bulk -Ctj clang6-amd64 editors/openoffice-4