Re: Brief C23 excursion

Ian Collier via Mutt-dev <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On Fri, Apr 17, 2026 at 03:37:45PM +0200, Alejandro Colomar via Mutt-dev wrote:
> > Correct me if I'm wrong, but that's going to barf if I perversely
> > declare my character pointer as volatile and pass it to one of
> > these functions, yes?  (It would otherwise just be a warning.)

> Yes, and that's A Good Thing(tm).  Previously, it was just a warning,
> but it had Undefined Behavior, which you certainly didn't want.

Okay, fair enough.  But the error message would be opaque.  I guess this
is rare and/or stupid enough to not be an issue. ;-)

Ian Collier.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.