[TUHS] origins of void* -- Apology!
imp at bsdimp.com
Thu Nov 9 02:03:06 AEST 2017
On Wed, Nov 8, 2017 at 5:48 AM, Tony Finch <dot at dotat.at> wrote:
> Nelson H. F. Beebe <beebe at math.utah.edu> wrote:
> > % cat *.log | grep '^ char type is' | sort | uniq -c
> > 157 char type is signed
> > 3 char type is unsigned
> > The sole outliers are
> > * Arch Linux ARM on armv7l
> > * IBM CentOS Linux release 7.4.1708 on PowerPC-8
> > * SGI IRIX 6.5 on MIPS R10000-SC
> Nice survey, thanks!
> I learned C using the Norcroft C compiler on early Acorn / ARM machines
> where char was unsigned. That is still the case, though ARM have switched
> from Norcroft to clang.
> (And I started learning about unix from reading articles about RISC iX,
> Acorn's 4.3BSD port to the Archimedes.)
ARM's pre-EABI ABIs dictated that char be unsigned. It's all dictated by
the ABI that's implemented, and less about which compiler is used. Now that
EABI is basically mainstream, unsigned characters on ARM has become a
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the TUHS