From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C29EC4167B for ; Sun, 3 Dec 2023 16:27:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id C99DE41527; Sun, 3 Dec 2023 16:27:53 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org C99DE41527 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bc_NIPghIcRi; Sun, 3 Dec 2023 16:27:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 30F6A415D0; Sun, 3 Dec 2023 16:27:52 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 30F6A415D0 Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 8F93B1BF471 for ; Sun, 3 Dec 2023 16:27:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7554340900 for ; Sun, 3 Dec 2023 16:27:27 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 7554340900 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cK0q8Bprxi8d for ; Sun, 3 Dec 2023 16:27:26 +0000 (UTC) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by smtp2.osuosl.org (Postfix) with ESMTPS id 2F1314013D for ; Sun, 3 Dec 2023 16:27:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 2F1314013D Received: by mail.gandi.net (Postfix) with ESMTPSA id 3219220004; Sun, 3 Dec 2023 16:27:24 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.96) (envelope-from ) id 1r9pJT-00954U-1I; Sun, 03 Dec 2023 17:27:23 +0100 From: Peter Korsgaard To: Fabrice Fontaine References: <20231203145419.1946230-1-fontaine.fabrice@gmail.com> Date: Sun, 03 Dec 2023 17:27:23 +0100 In-Reply-To: <20231203145419.1946230-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 3 Dec 2023 15:54:18 +0100") Message-ID: <87il5f1cb8.fsf@48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-GND-Sasl: peter@korsgaard.com Subject: Re: [Buildroot] [PATCH v2, 1/1] package/xenomai: fix build with gcc >= 12 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour , Thomas De Schampheleire , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with gcc >= 12: > task.c: In function 't_start': > task.c:398:16: error: 'ret' may be used uninitialized [-Werror=maybe-uninitialized] > 398 | return ret; > | ^~~ > task.c:364:13: note: 'ret' was declared here > 364 | int ret; > | ^~~ > task.c: In function 't_resume': > task.c:444:16: error: 'ret' may be used uninitialized [-Werror=maybe-uninitialized] > 444 | return ret; > | ^~~ > task.c:428:13: note: 'ret' was declared here > 428 | int ret; > | ^~~ > Fixes: > - http://autobuild.buildroot.org/results/bc1b40de22e563b704ad7f20b6bf4d1f73a6ed8a > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2: > - Add missing Upstream tag to patch Committed, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot