zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Zsh workers <zsh-workers@zsh.org>
Subject: Re: PATCH: remove ancient STOUC() workaround
Date: Wed, 14 Dec 2022 17:07:17 +0000 (GMT)	[thread overview]
Message-ID: <1313845986.7216898.1671037637925@mail.virginmedia.com> (raw)
In-Reply-To: <36532-1671036747.322209@Psau.rCcr.8m-L>

> On 14/12/2022 16:52 Oliver Kiddle <opk@zsh.org> wrote:
> The STOUC() macro is a wrapper for (unsigned char) casts that works
> around a compiler bug by doing ((unsigned char)(unsigned short)(X)) if
> autoconf detects the bug. This has been there since before the earliest
> (1995) list archives. I've never come across the need for this in any
> other C codebase. Surely whatever compiler needed this has long since
> ceased to be able to compile zsh for a myriad other reasons and been
> confined to a museum. A web search for the autoconf output of "signed to
> unsigned casting is broken..." finds matches with the word "no" but none
> with "yes". Or is there some further need for this that I'm missing?

I would imagine you're right and it's well past its shelf life.  The only
way to know with this ancient stuff is to suck it and see.

pws


      reply	other threads:[~2022-12-14 17:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14 16:52 Oliver Kiddle
2022-12-14 17:07 ` Peter Stephenson [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=1313845986.7216898.1671037637925@mail.virginmedia.com \
    --to=p.w.stephenson@ntlworld.com \
    --cc=zsh-workers@zsh.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).