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,6c7dea22b75ba442 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 09 Nov 2007 23:08:23 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: ada compiler? References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Fri, 09 Nov 2007 23:08:23 -0600 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 24.4.252.232 X-Trace: sv3-jzxeFZmFBMUMqcxsHeQgY0cHS8QyQtIQ3rhSdLodqW6AUTDk9u94kFBeuEd4rX3Dhb16WJJjYDOeehl!mdxdpaa6+UNaJ+SxHzjMdigGLCcbaX86JUB4H+wi0PP7tfO2VTHXPBFwoP7T1I9IAnOhBdIV7Oz+!HbAznlcFMnj1pFFu2RwzTLxAQ+7J X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.36 Xref: g2news1.google.com comp.lang.ada:18246 Date: 2007-11-09T23:08:23-06:00 List-Id: > >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;