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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a00006d3c4735d70 X-Google-Attributes: gid103376,public X-Google-Thread: f849b,b8d52151b7b306d2 X-Google-Attributes: gidf849b,public X-Google-ArrivalTime: 2003-12-30 02:22:13 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!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.tiscali.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.arch.embedded,comp.lang.ada Subject: Re: Certified C compilers for safety-critical embedded systems Followup-To: comp.arch.embedded,comp.lang.ada Date: Tue, 30 Dec 2003 11:04:54 +0100 Organization: AdaCL Message-ID: <1327968.bhpZGWnODH@linux1.krischik.com> 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> <11LvOkBBXw7$EAJw@phaedsys.demon.co.uk> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1072779551 07 17885 lHZvGHqvTp+Oau1 031230 10:19:11 X-Complaints-To: usenet-abuse@t-online.de X-ID: Jr-JeiZDYefjpO1Ye35b-JpsmapjsMrPvFunNjxlHT4FEwbsgB7iwN User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.arch.embedded:6330 comp.lang.ada:3945 Date: 2003-12-30T11:04:54+01:00 List-Id: Frank J. Lhota wrote: > "Chris Hills" wrote in message > news:11LvOkBBXw7$EAJw@phaedsys.demon.co.uk... >> [plain] char is a character >> singed and unsigned char are integer types. > > "singed" char? Perhaps there is a distinction between sung and unsung > chars. Grin. Well in C you can have signed char where char'Pos is range -128 .. +127 and unsigned char where char'Pos ist 0 .. 255. One of the top 10 mistakes K&R did. It leads to a lot of misunderstandings and signed char is only used when Short_Short_Integer is needed. Which is yet another example where in C you have to say "A" when realy you want "B". How a static analysis tool will deal with this I never know. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com