From: Tom de Vries <tdevries@suse.de>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] [gdbsupport] Poison ctype.h / cctype functions
Date: Tue, 24 Mar 2026 14:55:00 +0100 [thread overview]
Message-ID: <79de1f3b-1ef4-4ced-8f6d-ad1408eab73b@suse.de> (raw)
In-Reply-To: <87jyv28wbg.fsf@tromey.com>
On 3/23/26 3:17 PM, Tom Tromey wrote:
> Tom> +POISON_CCTYPE (int isalnum (T c));
> Tom> +POISON_CCTYPE (int std::isalnum (T c));
>
> I suspect redefining standard functions like this is not allowed in C++.
That's a pity.
Then automatically checking this falls in the domain of precommit
checkers. Maybe I could extend check-gnu-style to include this (though
this isn't really a GNU style thing I suppose).
Thanks,
- Tom
next prev parent reply other threads:[~2026-03-24 13:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-22 16:03 Tom de Vries
2026-03-23 14:17 ` Tom Tromey
2026-03-24 9:05 ` Tom de Vries
2026-03-24 13:28 ` Tom de Vries
2026-03-24 13:55 ` Tom de Vries [this message]
2026-03-24 14:42 ` 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=79de1f3b-1ef4-4ced-8f6d-ad1408eab73b@suse.de \
--to=tdevries@suse.de \
--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