From owner-freebsd-gnome@freebsd.org Sun Nov 13 10:16:27 2016 Return-Path: Delivered-To: freebsd-gnome@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 28688C3DB65 for ; Sun, 13 Nov 2016 10:16:27 +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 1221A1186 for ; Sun, 13 Nov 2016 10:16:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 11732C3DB64; Sun, 13 Nov 2016 10:16:27 +0000 (UTC) Delivered-To: gnome@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 11232C3DB63 for ; Sun, 13 Nov 2016 10:16:27 +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 DBACA1184 for ; Sun, 13 Nov 2016 10:16:26 +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 uADAGQ73058905 for ; Sun, 13 Nov 2016 10:16:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 214468] devel/glib20 return error in gmesssage.h Date: Sun, 13 Nov 2016 10:16:26 +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 Only Me X-Bugzilla-Who: w.schwarzenfeld@utanet.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@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 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-gnome@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2016 10:16:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214468 Bug ID: 214468 Summary: devel/glib20 return error in gmesssage.h Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: w.schwarzenfeld@utanet.at Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org I tried to reinstall lxterminal. It failed with: setting.c:165:5: error: non-void function 'copy_setting' should return a va= lue [-Wreturn-type] g_return_if_fail (setting !=3D NULL); ^ /usr/local/include/glib-2.0/glib/gmessages.h:373:3: note: expanded from mac= ro 'g_return_if_fail' return; \ ^ 1 error generated. the error is in /usr/local/include/glib-2.0/glib/gmessages.h: line 374 #define g_return_if_fail(expr) G_STMT_START{ \ if G_LIKELY(expr) { } else \ { \ g_return_if_fail_warning (G_LOG_DOMAIN, \ G_STRFUNC, \ #expr); \ =3D> return; = \ };=20=20=20=20=20=20=20=20=20 and the same in lin 392. If I set return 1 I got a lot more errors. So I deleted it. But this is surely wrong. g_return_if_fails must return something. --=20 You are receiving this mail because: You are the assignee for the bug.=