Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@buildroot.org
Cc: Tzu-Jung Lee <roylee17@gmail.com>
Subject: Re: [Buildroot] [PATCH] package/tstools: fix build w/ gcc-15
Date: Sun, 31 Aug 2025 16:59:54 +0200	[thread overview]
Message-ID: <87o6rvfset.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20250829080657.2627985-1-peter@korsgaard.com> (Peter Korsgaard's message of "Fri, 29 Aug 2025 10:06:57 +0200")

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > GCC-15 defaults to C23, which changes the meaning of an empty parameter
 > list:

 > https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters

 > Leading to a build failure:

 > tsserve.c: In function ‘set_child_exit_handler’:
 > tsserve.c:2988:21: error: assignment to ‘__sighandler_t’ {aka ‘void
 > (*)(int)’} from incompatible pointer type ‘void (*)(void)’
 > [-Wincompatible-pointer-types]
 >  2988 |   action.sa_handler = on_child_exit;

 > Add a patch from an upstream PR to fix that.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-08-31 15:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-29  8:06 [Buildroot] [PATCH] package/tstools: fix build w/ gcc-15 Peter Korsgaard
2025-08-31 14:59 ` Peter Korsgaard [this message]
2025-09-01  2:40   ` Baruch Siach via buildroot
2025-09-01  7:58     ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2025-08-29  8: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=87o6rvfset.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    --cc=roylee17@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox