All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Huth <huth@tuxfamily.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/frotz: fix build with gcc 14
Date: Thu, 16 May 2024 21:25:58 +0200	[thread overview]
Message-ID: <20240516212558.035e6aed@fedora> (raw)
In-Reply-To: <20240516163245.641115-1-fontaine.fabrice@gmail.com>

Am Thu, 16 May 2024 18:32:45 +0200
schrieb Fabrice Fontaine <fontaine.fabrice@gmail.com>:

> Drop -std=c99 from 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

I'm pretty sure there was originally was a reason for using -std=c99 here
... could we maybe use -std=gnu99 instead of removing it?

 Thomas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-05-16 19:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16 16:32 [Buildroot] [PATCH 1/1] package/frotz: fix build with gcc 14 Fabrice Fontaine
2024-05-16 19:25 ` Thomas Huth [this message]
2024-05-16 20:38   ` Fabrice Fontaine

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=20240516212558.035e6aed@fedora \
    --to=huth@tuxfamily.org \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.