From owner-freebsd-office@freebsd.org Tue Feb 25 17:55:27 2020 Return-Path: Delivered-To: freebsd-office@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3789923A506 for ; Tue, 25 Feb 2020 17:55:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48Rmmt63VQz4HY6 for ; Tue, 25 Feb 2020 17:55:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A127B23A4FD; Tue, 25 Feb 2020 17:55:26 +0000 (UTC) Delivered-To: office@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9FC3E23A4FC for ; Tue, 25 Feb 2020 17:55:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Rmms4x0bz4HWr for ; Tue, 25 Feb 2020 17:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 984591A634 for ; Tue, 25 Feb 2020 17:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01PHtPTn033308 for ; Tue, 25 Feb 2020 17:55:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01PHtPWS033307 for office@FreeBSD.org; Tue, 25 Feb 2020 17:55:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 244402] textproc/libstaroffice: Fix build with clang 10.0.0 Date: Tue, 25 Feb 2020 17:55:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter blocked flagtypes.name attachments.created Message-ID: 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.29 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2020 17:55:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244402 Bug ID: 244402 Summary: textproc/libstaroffice: Fix build with clang 10.0.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: office@FreeBSD.org Reporter: dim@FreeBSD.org Blocks: 244251 Flags: maintainer-feedback?(office@FreeBSD.org) Assignee: office@FreeBSD.org Created attachment 211933 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211933&action= =3Dedit Fix several -Werror warnings in libstaroffice As reported in bug 244251, with clang 10.0.0 the textproc/libstaroffice port runs into several -Werror warnings: In file included from SDCParser.cxx:43: ./STOFFSpreadsheetListener.hxx:70:31: error: class with destructor marked 'final' cannot be inherited from [-Werror,-Wfinal-dtor-non-final-class] ~STOFFSpreadsheetListener() final; ^ ./STOFFSpreadsheetListener.hxx:64:7: note: mark 'STOFFSpreadsheetListener' = as 'final' to silence this warning class STOFFSpreadsheetListener : public STOFFListener ^ STOFFOLEParser.cxx:509:19: error: loop variable 'posToType' of type 'const std::__1::pair' creates a copy from type 'const std::__1::pair' [-Werror,-Wrange-loop-construct] for (auto const posToType : posToTypeMap) { ^ STOFFOLEParser.cxx:509:8: note: use reference type 'const std::__1::pair &' to prevent copying for (auto const posToType : posToTypeMap) { ^~~~~~~~~~~~~~~~~~~~~~ & StarObjectSmallGraphic.cxx:1392:21: error: loop variable 'poly' of type 'co= nst StarGraphicStruct::StarPolygon' creates a copy from type 'const StarGraphicStruct::StarPolygon' [-Werror,-Wrange-loop-construct] for (auto const poly : m_pathPolygons) ^ StarObjectSmallGraphic.cxx:1392:10: note: use reference type 'const StarGraphicStruct::StarPolygon &' to prevent copying for (auto const poly : m_pathPolygons) ^~~~~~~~~~~~~~~~~ & StarObjectSmallGraphic.cxx:1415:20: error: class with destructor marked 'fi= nal' cannot be inherited from [-Werror,-Wfinal-dtor-non-final-class] ~SdrGraphicUno() final; ^ StarObjectSmallGraphic.cxx:1405:7: note: mark 'StarObjectSmallGraphicInternal::SdrGraphicUno' as 'final' to silence this warning class SdrGraphicUno : public SdrGraphicRect ^ These are all pretty trivial to fix, patch is attached. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244251 [Bug 244251] [exp-run] Against projects/clang1000-import branch --=20 You are receiving this mail because: You are the assignee for the bug.=