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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,971aa11c293c3db1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-20 14:33:51 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!dispose.news.demon.net!demon!psiuk-p2!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Ada The Best Language? Date: Fri, 20 Jul 2001 16:48:33 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9ja5f2$e7o$1@nh.pace.co.uk> References: <5be89e2f.0107170838.c71ad61@posting.google.com> <5be89e2f.0107180235.726d46a8@posting.google.com> <9j3rrd$g71$1@s1.read.news.oleane.net> <5be89e2f.0107181300.4b4e93d7@posting.google.com> <3B57195E.A3A3FED@home.com> <9j93u6$1ua8$1@norfair.nerim.net> <3B586A17.862BA84D@home.com> <9j9s3t$kn8$1@wanadoo.fr> <9j9vmh$c5p$1@nh.pace.co.uk> <9ja31r$8ek$1@wanadoo.fr> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 995662114 14584 136.170.200.133 (20 Jul 2001 20:48:34 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 20 Jul 2001 20:48:34 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:10376 Date: 2001-07-20T20:48:34+00:00 List-Id: Pragma Supress is standard Ada - you can supress specific checks or all of them. See Annex L or ARM 11.5 for more details. The neat thing is that you can supress specific checks or all checks. You can do this on a specific entity (say an array) or you can do it within a specific subprogram or you can do it for the whole program. Hence, you can pick the level of checks you need and the places you need them and let things go from there. Compilers may also provide switches that let you toggle checks on/off as well, so you don't necessarily have to do it by modifying the source code. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Bertrand Augereau" wrote in message news:9ja31r$8ek$1@wanadoo.fr... > Sounds ok... > It IS better to optimize when code is correct. And c++ takes the other > approach. > Is Pragma suppress part of the ARM or some extension? >