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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 4495AC54FC6 for ; Sun, 1 Sep 2024 08:54:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E937660692; Sun, 1 Sep 2024 08:54:28 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 5dtmfr2jJdii; Sun, 1 Sep 2024 08:54:28 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 18E076069D Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 18E076069D; Sun, 1 Sep 2024 08:54:28 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A20301BF3AA for ; Sun, 1 Sep 2024 08:54:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8F22D40320 for ; Sun, 1 Sep 2024 08:54:26 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id W-zh67pomIp0 for ; Sun, 1 Sep 2024 08:54:25 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=217.70.183.193; helo=relay1-d.mail.gandi.net; envelope-from=peter@korsgaard.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 4D1AE40176 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 4D1AE40176 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by smtp2.osuosl.org (Postfix) with ESMTPS id 4D1AE40176 for ; Sun, 1 Sep 2024 08:54:24 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 416E8240004; Sun, 1 Sep 2024 08:54:22 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.96) (envelope-from ) id 1skgLl-000k16-28; Sun, 01 Sep 2024 10:54:21 +0200 From: Peter Korsgaard To: Fabrice Fontaine References: <20240727084248.18600-1-fontaine.fabrice@gmail.com> Date: Sun, 01 Sep 2024 10:54:21 +0200 In-Reply-To: <20240727084248.18600-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 27 Jul 2024 10:42:48 +0200") Message-ID: <871q23vjnm.fsf@dell.be.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 X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=none (p=none dis=none) header.from=korsgaard.com Subject: Re: [Buildroot] [PATCH 1/1] package/libnfs: fix build with gcc >= 14 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: 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 >= 14 which enables > -Werror=implicit-function-declaration > (https://gcc.gnu.org/gcc-14/porting_to.html): > nfs-stat.c: In function 'main': > nfs-stat.c:287:30: error: implicit declaration of function 'ctime' [-Wimplicit-function-declaration] > 287 | printf("Access: %s", ctime( (const time_t *) &st.nfs_atime)); > | ^~~~~ > nfs-stat.c:177:1: note: 'ctime' is defined in header ''; this is probably fixable by adding '#include ' > 176 | #include > +++ |+#include > 177 | char *uid_to_name(int uid) > Fixes: > - http://autobuild.buildroot.org/results/73c3828a4e5d275ca0dfdd5b314494e2b00393c8 > Signed-off-by: Fabrice Fontaine Committed to 2024.05.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot