🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rmit.comp.sys.mac
Article #12

Re: CodeWarrior

#12
From: Douglas Thorburn
Date: Wed, 05 Aug 1998 00:00
20 lines
1548 bytes
hamish@moffatt.nu (Hamish Moffatt) writes:

>In rmit.comp.sys.mac Luke Walshe <lw@yallara.cs.rmit.edu.au> wrote:
>>>That's the effect I want -- "unsigned char" should be a byte;
>>>char might not be.

>> I don't know any implementation where char is > 8 bits.

>I think it's defined to always by 8 bits; I assume that it could
>be signed though, which is why you can explicitly state it. The CW option
>"chars are always unsigned" is a confusing one, then.

I thought the ANSI C standard defined sizeof char == 1 'byte'
and the number of bits in 1 'byte' to be equal the number of bits
need for a char.


--
Hartley's Second Law:
        Never sleep with anyone crazier than yourself.
Technical Details
Message-ID: <6q9fdg$1fg$1@emu.cs.rmit.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6q6mo2$k20$2@emu.cs.rmit.edu.au> <6q8ln4$qeo$1@emu.cs.rmit.edu.au> <6q8sjm$rrk$1@emu.cs.rmit.edu.au> <6q8u9j$s6l$1@emu.cs.rmit.edu.au> <6q9b0k$im$2@emu.cs.rmit.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10b5e3,d3a31d5aa2374f1d
X-Google-Attributes: gid10b5e3,public
X-Google-Thread: 10a4e6,d3a31d5aa2374f1d
X-Google-Attributes: gid10a4e6,public
From: douglast@cs.rmit.edu.au (Douglas Thorburn)
Subject: Re: CodeWarrior
Date: 1998/08/05
Message-ID: <6q9fdg$1fg$1@emu.cs.rmit.edu.au>
X-Deja-AN: 378133095
References: <6q6mo2$k20$2@emu.cs.rmit.edu.au> <6q8ln4$qeo$1@emu.cs.rmit.edu.au> <6q8sjm$rrk$1@emu.cs.rmit.edu.au> <6q8u9j$s6l$1@emu.cs.rmit.edu.au> <6q9b0k$im$2@emu.cs.rmit.edu.au>
X-Complaints-To: abuse@cs.rmit.edu.au
X-Trace: emu.cs.rmit.edu.au 902316272 1520 131.170.24.42 (5 Aug 1998 11:24:32 GMT)
Organization: Department of Computer Science, RMIT
X-Posting-User: douglast
NNTP-Posting-Date: 5 Aug 1998 11:24:32 GMT
Newsgroups: rmit.comp.sys.mac,aus.computers.mac