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-Thread: 103376,5b9a38a75a50e726 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Feature or Bug? 2#1111# shifted by 4 is 224 References: <20080602191145.1b75b1ee.tero.koskinen@iki.fi> <873anvk9a2.fsf@ludovic-brenta.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1212521958 12.201.97.213 (Tue, 03 Jun 2008 19:39:18 GMT) NNTP-Posting-Date: Tue, 03 Jun 2008 19:39:18 GMT Organization: AT&T ASP.att.net Date: Tue, 03 Jun 2008 19:39:18 GMT Xref: g2news1.google.com comp.lang.ada:550 Date: 2008-06-03T19:39:18+00:00 List-Id: Adam Beneschan wrote: > On Jun 2, 5:51 pm, "Jeffrey R. Carter" > wrote: >> >> With[out] -gnato and -fstack-check (and some would say -gnatE), GNAT is not an Ada >> compiler. > > So how is that relevant? Without those flags, the compiler will > violate Ada semantics in some specific and well-defined cases, but > users can still rightly expect Ada semantics to be followed in every > other case. It may not be relevant to the specific problem, but I thought the OP might find it useful information, since many new users of GNAT are not aware that it is not an Ada compiler with its default settings. -- Jeff Carter "Brave Sir Robin ran away." Monty Python and the Holy Grail 59