From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Peter Korsgaard <peter@korsgaard.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/dump1090: fix build w/ gcc-15
Date: Fri, 22 Aug 2025 22:13:42 +0200 [thread overview]
Message-ID: <20250822221342.046ad796@windsurf> (raw)
In-Reply-To: <20250821114800.3834308-1-peter@korsgaard.com>
On Thu, 21 Aug 2025 13:48:00 +0200
Peter Korsgaard <peter@korsgaard.com> wrote:
> Fixes https://autobuild.buildroot.org/results/dbf55d0fd8d779f408e7ccca4c2a9083e7a11f6a/
>
> GCC-15 has gained a new warning about non-NUL terminated strings and
> dump1090 is built with -Werror leading to build errors like:
>
> interactive.c:143:23: error: initializer-string for array of 'char' truncates
> NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4
> available) [-Werror=unterminated-string-initialization]
> 143 | char spinner[4] = "|/-\\";
>
> Add a patch from an upstream pull request to fix this by zero terminating
> the strings.
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
> .../0002-Fix-compilation-with-GCC15.patch | 50 +++++++++++++++++++
> 1 file changed, 50 insertions(+)
> create mode 100644 package/dump1090/0002-Fix-compilation-with-GCC15.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
prev parent reply other threads:[~2025-08-22 20:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-21 11:48 [Buildroot] [PATCH] package/dump1090: fix build w/ gcc-15 Peter Korsgaard
2025-08-22 20:13 ` Thomas Petazzoni via buildroot [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=20250822221342.046ad796@windsurf \
--to=buildroot@buildroot.org \
--cc=peter@korsgaard.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 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.