From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aB15Gvujrl5ZXQAA0tVLHw (envelope-from ) for ; Sun, 03 May 2020 10:59:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2ClzAwWkrl7WZAAAB5/wlQ (envelope-from ) for ; Sun, 03 May 2020 10:59:17 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 17F96941E40 for ; Sun, 3 May 2020 10:59:16 +0000 (UTC) Received: from localhost ([::1]:54458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVCL6-0003iE-3Q for larch@yhetil.org; Sun, 03 May 2020 06:59:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVCKs-0003h8-5v for guix-patches@gnu.org; Sun, 03 May 2020 06:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVCKr-0006wY-TA for guix-patches@gnu.org; Sun, 03 May 2020 06:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVCKr-0000Tx-RY for guix-patches@gnu.org; Sun, 03 May 2020 06:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41033] [PATCH] gnu: libusb-0.1: fix build failure on newer gcc Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 May 2020 10:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41033 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Howard Cc: 41033@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15885035401838 (code B ref -1); Sun, 03 May 2020 10:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2020 10:59:00 +0000 Received: from localhost ([127.0.0.1]:54775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVCKq-0000TY-AT for submit@debbugs.gnu.org; Sun, 03 May 2020 06:59:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:59704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVCKo-0000TC-Lj for submit@debbugs.gnu.org; Sun, 03 May 2020 06:58:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVCKo-0003a0-DB for guix-patches@gnu.org; Sun, 03 May 2020 06:58:58 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:39504) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVCKn-0006mo-0J for guix-patches@gnu.org; Sun, 03 May 2020 06:58:58 -0400 Received: (qmail 26318 invoked by uid 1009); 3 May 2020 12:58:48 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25800. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.023151 secs); 03 May 2020 10:58:48 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 3 May 2020 12:58:47 +0200 Date: Sun, 3 May 2020 12:58:46 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200503105846.fvouqze7r5qhb5nf@gravity> References: <1a3c1bf5091742ae78a5946c92a622206dcdf596.camel@librehacker.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4uahux66rjjjezgf" Content-Disposition: inline In-Reply-To: <1a3c1bf5091742ae78a5946c92a622206dcdf596.camel@librehacker.com> Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/03 06:58:48 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, FROM_EXCESS_BASE64=0.979, SPF_HELO_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [-1.90 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49362655134209]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_MIXED_CHARSET(0.71)[subject]; FROM_NEQ_ENVFROM(0.00)[kuba@kadziolka.net,guix-patches-bounces@gnu.org]; TAGGED_FROM(0.00)[larch=yhetil.org]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[kadziolka.net]; HAS_LIST_UNSUB(-0.01)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_SEVEN(0.00)[11]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: Uht4GEhvy7Ot --4uahux66rjjjezgf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 02, 2020 at 02:47:56PM -0800, Christopher Howard wrote: > I need libusb-0.1 to build some older software, but libusb-0.1 build > fails due to a warning from the current GCC version. (Evidently libusb- > 0.1 is set to die on any warning.) The attached patch silences the > warning. Thanks for your patch! I'm wondering though, whether it wouldn't be more resilient to add a -Wno-error flag instead. After all, the compiler is going to get upgraded sooner or later, which will introduce new warnings, and libusb 0.1 isn't getting any upgrades... A quick grep suggests that this wouldn't be the first package to disable Werror. Makes sense, since this mode is mostly useful to developers, and not packagers. What do you think? Kind regards, Jakub K=C4=85dzio=C5=82ka --4uahux66rjjjezgf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl6uo+UACgkQ4xWnWEYT FWT9+Q/9HjHQs3ctKLH6EnMjWfaOyxGmCPE7TjpTr8mMG1F1eR0ONLOnSxHe88Ac VItBgOUkh9On7dTvaLCP902lMn1oyvGvDADpIgf9COSr+X/U8RRHiSVACCe/4DeL Lf0+1nFItKgrpGPA4K9nwhKq8AExdbokMCtxpGQfmORbtcY0p7b9VZNTUSrEdcZK EJrlvv+EiLkyzB8ovmWqDSbyPpJ/3Oj6TcXaJFaXTzQtzQUfXb1YxXxuPSf6VuRZ QMA76RywZiZGRJBk+Qmka7FtP6YWlsh75Pd+DIwybrwGG4Sz/68atDNC9gOXVykC p3dSrwYqgxfpD4IaVLWNvzRxRRoVdp8dApoC89xZnvVGe0nn0Zqz47wPgqGPNiP4 IH1jvdhqBRRb8kfVJIxArZD0qpwxiHE8LtNt5DCoqCYO86GKbbk+sbltZa53YBSz Hbqbi+dGitNZlOZNhv2tYg+R7NyrTTspccdrtgixnskbO/BLLURq8unJeewjUUCn qDFQ2LjDxX11ifApTYZAs8KY5U3jHqVkeDQY6peTJSVDIvLZjWeekCUbC7grJ0wG UYYziXkzJBxkkEukjQuKp049UWxJsiEU5aXJzebkTN/ZdNKgbcAYKh24AgGnc4PN rxRGf/Ta1N1U+Hzaj89dsUXPP3uSMP6khFv5m2UDxG55Y2JawZk= =vddo -----END PGP SIGNATURE----- --4uahux66rjjjezgf--