From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Thomas Huth <huth@tuxfamily.org>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2] package/frotz: fix build with gcc 14
Date: Fri, 12 Jul 2024 17:16:10 +0200 [thread overview]
Message-ID: <20240712171610.1a5a85cf@windsurf> (raw)
In-Reply-To: <20240517082007.312904-1-huth@tuxfamily.org>
On Fri, 17 May 2024 10:20:07 +0200
Thomas Huth <huth@tuxfamily.org> wrote:
> Change -std=c99 into -std=gnu99 in the CFLAGS to avoid the following
> build failure with gcc 14:
>
> fastmem.c: In function 'z_restore':
> fastmem.c:842:36: error: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
> 842 | f_setup.aux_name = strdup(default_name);
> | ^~~~~~
> | strcmp
>
> Fixes:
> - http://autobuild.buildroot.org/results/df3b3b98265ec3a75578614746b2d1426c90e125
>
> Reported-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> Signed-off-by: Thomas Huth <huth@tuxfamily.org>
> ---
> v2: Use gnu99 instead of removing c99
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-07-12 15:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 8:20 [Buildroot] [PATCH v2] package/frotz: fix build with gcc 14 Thomas Huth
2024-07-12 15:16 ` Thomas Petazzoni via buildroot [this message]
2024-08-06 22:15 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240712171610.1a5a85cf@windsurf \
--to=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=huth@tuxfamily.org \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox