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-Thread: 103376,6c7dea22b75ba442 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: ada compiler? Reply-To: anon@anon.org (anon) References: X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Sat, 10 Nov 2007 06:12:03 GMT NNTP-Posting-Host: 12.65.0.80 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1194675123 12.65.0.80 (Sat, 10 Nov 2007 06:12:03 GMT) NNTP-Posting-Date: Sat, 10 Nov 2007 06:12:03 GMT Organization: AT&T Worldnet Xref: g2news1.google.com comp.lang.ada:18248 Date: 2007-11-10T06:12:03+00:00 List-Id: Your program work correctly with or without the command line option! Using two different operating systems, Linux and FreeBSD. So, what problem should I have seen? Plus, it is not required. To increase the Ada programmer and Ada usage you first must get the newbees to enjoy Ada before getting into the specific stuff. So, why confuse him with command line options that are not needed unless you want him to "HATE" Ada. In , tmoran@acm.org writes: >> >Note that "-gnato -fstack-check" is needed for GNAT to be an Ada compiler. >> >> Where did you get that one! >> >> I have never use "-gnato -fstack-check" and all programs that I have >> created have work. May be you have some wrong on your system. > Try >with ada.text_io; >procedure isitada is > x : integer := integer'last-2; >begin > ada.text_io.put("it is"); > for i in 1 .. 3 loop > x := x+1; > end loop; > ada.text_io.put(" not Ada"); >exception > when constraint_error => > ada.text_io.put_line(" Ada"); >end isitada;