From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,1cf653444208df72 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-17 01:47:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-FFM2.ecrc.net!news.iks-jena.de!lutz From: lutz@iks-jena.de (Lutz Donnerhacke) Newsgroups: comp.lang.ada Subject: Re: ada vs. cpp Date: Wed, 17 Oct 2001 08:45:44 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <9q7na102nqn@drn.newsguy.com> <3BCBF40A.BBDD4FE6@free.fr> <87669foaf2.fsf@deneb.enyo.de> <878zebmjgy.fsf@deneb.enyo.de> NNTP-Posting-Host: taranis.iks-jena.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: branwen.iks-jena.de 1003308344 15315 217.17.192.37 (17 Oct 2001 08:45:44 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Wed, 17 Oct 2001 08:45:44 +0000 (UTC) User-Agent: slrn/0.9.6.3 (Linux) Xref: archiver1.google.com comp.lang.ada:14783 Date: 2001-10-17T08:45:44+00:00 List-Id: * Florian Weimer wrote: >Stephen Leake writes: >> Florian Weimer writes: >> > The revision of POSIX.1 will require 8 bit bytes, I think, but of >> > course, there's no such requirement in the C language (except that the >> > size must be greater than 7 bits). >> >> Interesting. So there will be no implementations of POSIX.1 on 16 bit >> addressable machines? > >Probably. But you could write C compilers with CHAR_BIT == 8 even for >such architectures. You can't do this at least on systems where the machine character set requires 15 bit. So you need 16bit characters to embed the required characters with positive values. You even can't map the machine character set to an ASCII representation, because C99 requires a transparent mapping f�r unsigned char. *baff*