From: Peter Korsgaard <peter@korsgaard.com>
To: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
Cc: Thomas Huth <huth@tuxfamily.org>,
Fabrice Fontaine <fontaine.fabrice@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH v2] package/frotz: fix build with gcc 14
Date: Wed, 07 Aug 2024 00:15:44 +0200 [thread overview]
Message-ID: <875xsdqovj.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20240712171610.1a5a85cf@windsurf> (Thomas Petazzoni via buildroot's message of "Fri, 12 Jul 2024 17:16:10 +0200")
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:
> 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.
Committed to 2024.05.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-08-06 22:15 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
2024-08-06 22:15 ` Peter Korsgaard [this message]
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=875xsdqovj.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=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