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!wn11feed!worldnet.att.net!bgtnsc05-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 20:20:56 GMT NNTP-Posting-Host: 12.65.6.180 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1194726056 12.65.6.180 (Sat, 10 Nov 2007 20:20:56 GMT) NNTP-Posting-Date: Sat, 10 Nov 2007 20:20:56 GMT Organization: AT&T Worldnet Xref: g2news1.google.com comp.lang.ada:18251 Date: 2007-11-10T20:20:56+00:00 List-Id: Since, my version of GNAT by default is set to the "High_Integrity" Mode the program always takes the CONSTRAINT_ERROR exits unless the correct "pragma Suppress" or "pragma Restrictions" is set. Such as adding: pragma Suppress ( All_Checks ) ; So never assume that you need an options less you have proven that it is needed on that version. Plus, if you switch vendor or newer releases that option may not exist. And as for newbees, let them enjoy the power and beauty of Ada before getting into the implementation junk that destroys their desire to support and promote Ada. Because they may never need the implementation junk that you are required to used. Or may be you want Ada to DIE. And the implementation junk such as command line options is what a lot of newbees use to HATE Ada. I know a number of people who hate C/C++ because of the command line options that you have to set. In , tmoran@acm.org writes: >> 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? > I would hope it works correctly! With -gnato "correctly" means it >should print "it is Ada" and without -gnato "correctly" means it should >print "it is not Ada" Is that not the behavior you observe?