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,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,32cfbb718858528b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-10 12:15:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!nycmny1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3D04F442.741C386C@despammed.com> From: Wes Groleau Reply-To: wesgroleau@despammed.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Commercial C To Ada 95 compiler References: <3D002D11.CC706952@adaworks.com> <4519e058.0206071148.9b87acf@posting.google.com> <3D0116F3.7254E263@despammed.com> <3D018106.6080004@worldnet.att.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 10 Jun 2002 13:47:30 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1023734869 151.168.144.162 (Mon, 10 Jun 2002 13:47:49 CDT) NNTP-Posting-Date: Mon, 10 Jun 2002 13:47:49 CDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:25693 Date: 2002-06-10T13:47:30-05:00 List-Id: > In fact this is not an error in C. Programs can (and do) intentionally > index past the end of arrays. I have seen C code that allocates memory But more often it's not intentional, it's a bug. And the Ada compiler will tell you so, sometimes during compile, sometimes during execution. > > to make all implicit C conversions explicit in Ada. > > I disagree, direct translation is possible. The order of conversions in C > is explicitly defined. The translation would have to turn these implicit > conversions into explicit conversions. Again, a review of the translated But doing so would be hiding bugs. Not all implicit conversions in C are intended by the programmer. -- Wes Groleau http://freepages.rootsweb.com/~wgroleau