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,400766bdbcd86f7c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!noris.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Mon, 14 Feb 2005 14:07:13 +0100 From: Georg Bauhaus Organization: future apps GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: This can't be done in Ada...or? References: <1108139611.709714.36170@o13g2000cwo.googlegroups.com> <1108371902.009062.224060@l41g2000cwc.googlegroups.com> In-Reply-To: <1108371902.009062.224060@l41g2000cwc.googlegroups.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4210a25b$0$24930$9b4e6d93@newsread2.arcor-online.net> NNTP-Posting-Date: 14 Feb 2005 14:06:35 MET NNTP-Posting-Host: 310d3763.newsread2.arcor-online.net X-Trace: DXC=@kY3m:hM2[k^O_h>VFi7[bQ5U85hF6f;djW\KbG]kaMhea\9g\;7NmePMd`k@lV3HfUUng9_FXZ=c>:=P9Ihe`Bh@Z?dZ]MOide X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:8311 Date: 2005-02-14T14:06:35+01:00 List-Id: Per Lindquist wrote: > I think your suggestions are all good but unfortunately we probably > cannot rely on anything GNAT specific. We have to cope with what's in > the Ada language standard basically. > As another solution which isn't perfect either, I use something like pragma silent(Trace.Error("a", "b", "c")); While this line needs preprocessing (or SCM) when the call is to become a call, a pragma is within the Ada language. You might get additional warnings from the compiler, but you don't get any code, i.e. any overhead. -- Georg