Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Chris Packham <judge.packham@gmail.com>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] readline/tcap.h: Update definitions for C23
Date: Thu, 1 May 2025 08:44:44 +1200	[thread overview]
Message-ID: <CAFOYHZD8Zh9BVPic-gCWByivZHCTrVyrp19RjyVV5pgLsSgz-A@mail.gmail.com> (raw)
In-Reply-To: <87r019zbtu.fsf@tromey.com>

Hi Tom,

On Thu, May 1, 2025 at 7:30 AM Tom Tromey <tom@tromey.com> wrote:
>
> >>>>> "Chris" == Chris Packham <judge.packham@gmail.com> writes:
>
> Chris> C23 changes how function definitions like int `int tputs ()` are
> Chris> interpreted. In older standards this meant that the function arguments
> Chris> are unknown. In C23 this is interpreted as `int tputs (void)` so now
> Chris> when we compile with GCC15 (which defaults to -std=gnu23) we get an
> Chris> error such as
>
> I don't have any issue with this patch but would you mind submitting it
> to the bug-readline list first?
>
> If you already did, super, just let me know.
>

Have now (just sent the same patch). Although after doing so I note
that tcap.h already has the update in readline-8.3-alpha so maybe the
gdb change should just be to update to that version?

  reply	other threads:[~2025-04-30 20:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-30  4:49 Chris Packham
2025-04-30 19:30 ` Tom Tromey
2025-04-30 20:44   ` Chris Packham [this message]
2025-05-02 18:03     ` Tom Tromey
2025-06-09 17:17 ` Christoph Müllner
2025-06-09 19:46   ` Simon Marchi
2025-06-09 21:43     ` Christoph Müllner
2025-06-10 13:04       ` Tom Tromey

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=CAFOYHZD8Zh9BVPic-gCWByivZHCTrVyrp19RjyVV5pgLsSgz-A@mail.gmail.com \
    --to=judge.packham@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.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