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: f849b,b8d52151b7b306d2 X-Google-Attributes: gidf849b,public X-Google-Thread: 103376,a00006d3c4735d70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-29 10:31:13 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.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: Mon, 29 Dec 2003 18:56:51 +0100 Organization: AdaCL Message-ID: <3035209.8LDgMmpnWy@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 1072722630 06 21512 2dyJGstLRjtCb11 031229 18:30:30 X-Complaints-To: usenet-abuse@t-online.de X-ID: V3uU8qZF8ezgljoTE84dHVIWj6nLDeObrIbWM2-FmFPuXV5UKUTlcn User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.arch.embedded:6300 comp.lang.ada:3932 Date: 2003-12-29T18:56:51+01:00 List-Id: Chris Hills wrote: > 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. Your are kidding. And you realy want to use a language which can not distinquish between a number and a character for safety-critical systems? >>If you are lucky you have real C99 compiler with byte. > there are no C99 compilers bar the (apparently) the Tasking Tricore > compiler. I does not realy speak in favour of C if in 2003 there is still no major compiler to meet the 1999 standarts. But then amost nobody knows the standart anyway. Even if you are prepared to pay the $18 to actulay see it, you are hard pressed to find the place where you can actually order it. The Ada standart, however, is available for all: http://adaic.org/standards/95lrm/html/RM-TTL.html With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com