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-7-bit X-Google-Thread: f849b,b8d52151b7b306d2 X-Google-Attributes: gidf849b,public X-Google-Thread: 103376,a00006d3c4735d70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-28 08:40:48 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!chcgil2-snh1.gtei.net!news.bbnplanet.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!kibo.news.demon.net!news.demon.co.uk!demon!phaedsys.demon.co.uk!chris From: Chris Hills Newsgroups: comp.arch.embedded,comp.lang.ada Subject: Re: Certified C compilers for safety-critical embedded systems Date: Sun, 28 Dec 2003 16:33:05 +0000 Organization: Phaedrus Systems Message-ID: <11LvOkBBXw7$EAJw@phaedsys.demon.co.uk> References: <3fe00b82.90228601@News.CIS.DFN.DE> <3FE026A8.3CD6A3A@yahoo.com> <3bf1uvg2ntadvahfud2rg6ujk24sora6gr@4ax.com> <2u3auvogde8ktotlaq0ldiaska3g416gus@4ax.com> <20619edc.0312221020.3fd1b4ee@posting.google.com> <20619edc.0312222106.3b369547@posting.google.com> <45cs9hAbLc6$EAAx@phaedsys.demon.co.uk> <3fe9f0d7.104475725@News.CIS.DFN.DE> <5802069.JsgInS3tXa@linux1.krischik.com> <1072464162.325936@master.nyc.kbcfp.com> <1563361.SfB03k3vvC@linux1.krischik.com> NNTP-Posting-Host: phaedsys.demon.co.uk Mime-Version: 1.0 X-Trace: news.demon.co.uk 1072629647 18996 80.176.226.26 (28 Dec 2003 16:40:47 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 28 Dec 2003 16:40:47 +0000 (UTC) X-Newsreader: Turnpike Integrated Version 5.01 M <7y9ouFdz6gbBVVTek6rkWKl0do> Xref: archiver1.google.com comp.arch.embedded:6233 comp.lang.ada:3891 Date: 2003-12-28T16:33:05+00:00 List-Id: In article <1563361.SfB03k3vvC@linux1.krischik.com>, Martin Krischik writes >Hyman Rosen wrote: >and how will you do it in C? > >Use an unsigned short int. Well an short int is usualy 16 bit not 8. > >Use an unsigned char? Well it is 8 bit - but is is a character not a number. [plain] char is a character singed and unsigned char are integer types. >If you are lucky you have real C99 compiler with byte. there are no C99 compilers bar the (apparently) the Tasking Tricore compiler. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/