From owner-freebsd-ports-bugs@freebsd.org Tue Jan 26 18:56:15 2016 Return-Path: Delivered-To: freebsd-ports-bugs@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 53280A6E3DC for ; Tue, 26 Jan 2016 18:56:15 +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 29D0DC64 for ; Tue, 26 Jan 2016 18:56:15 +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 u0QIuEgD021563 for ; Tue, 26 Jan 2016 18:56:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 206650] x11/leechcraft: fix build with clang 3.8.0 Date: Tue, 26 Jan 2016 18:56:14 +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: vg@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 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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 18:56:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206650 Bug ID: 206650 Summary: x11/leechcraft: fix build with clang 3.8.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: vg@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: vg@FreeBSD.org Flags: maintainer-feedback?(vg@FreeBSD.org) Created attachment 166153 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166153&action= =3Dedit Fix braced init lists for conforming to C++ N3922 During the exp-run in bug 206074, it was found that x11/leechcraft gives er= rors with a recent clang 3.8.0 snapshot [1]: /wrkdirs/usr/ports/x11/leechcraft/work/leechcraft-0.6.70/src/util/network/a= ddresses.cpp:44:4: error: initializer for variable 'locals' with type 'const auto' contains multiple expressions QHostAddress::parseSubnet ("172.16.0.0/12"), ^ and a number of similar errors. This is because after the C++ Working Group issue N3922, a C++11/14 braced initializer for more than one element should= be prefixed by an assignment operator, e.g. instead of: auto foo { 1, 2, 3, 4 }; one should write: auto foo =3D { 1, 2, 3, 4 }; The attached patch changes the few initializers in leechcraft to conform to this new syntax. This fix should probably be upstreamed too. [1] http://package18.nyi.freebsd.org/data/headamd64PR206074-default/2016-01-15_= 15h26m58s/logs/errors/leechcraft-0.6.70_7.log [2] http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2014/n3922.html --=20 You are receiving this mail because: You are the assignee for the bug.=