From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/can-utils: fix build with gcc >= 14
Date: Wed, 24 Jul 2024 22:03:48 +0200 [thread overview]
Message-ID: <20240724220348.1b755d53@windsurf> (raw)
In-Reply-To: <20240724110126.2133196-1-fontaine.fabrice@gmail.com>
On Wed, 24 Jul 2024 13:01:26 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure with gcc >= 14:
>
> j1939acd.c: In function 'main':
> j1939acd.c:489:38: error: passing argument 1 of 'asprintf' from incompatible pointer type [-Wincompatible-pointer-types]
> 489 | if (asprintf(&program_invocation_name, "%s.%s",
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | const char **
>
> Fixes:
> - http://autobuild.buildroot.org/results/1e2a533a936624249cd79d34983c889c3c4c2e3b
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...y-poption-prefix-to-use-when-logging.patch | 79 +++++++++++++++++++
> 1 file changed, 79 insertions(+)
> create mode 100644 package/can-utils/0002-j1939acd-remove-legacy-poption-prefix-to-use-when-logging.patch
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-24 20:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-24 11:01 [Buildroot] [PATCH 1/1] package/can-utils: fix build with gcc >= 14 Fabrice Fontaine
2024-07-24 20:03 ` Thomas Petazzoni via buildroot [this message]
2024-08-31 17:16 ` 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=20240724220348.1b755d53@windsurf \
--to=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--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