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,634259facc42df7a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!proxad.net!cleanfeed1-a.proxad.net!nnrp2-2.free.fr!not-for-mail Date: Tue, 04 Jul 2006 21:14:26 +0200 From: guillaume.portail@grospied.enanglais.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7) Gecko/20040616 X-Accept-Language: fr, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Conditional compilation of debug traces without cpp References: <44aaae35$0$5389$626a54ce@news.free.fr> <873bdhgpdk.fsf@ludovic-brenta.org> In-Reply-To: <873bdhgpdk.fsf@ludovic-brenta.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <44aabe0c$0$5715$626a54ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 04 Jul 2006 21:14:20 MEST NNTP-Posting-Host: 82.228.125.157 X-Trace: 1152040460 nnrp2-2.free.fr 5715 82.228.125.157:33061 X-Complaints-To: abuse@proxad.net Xref: g2news2.google.com comp.lang.ada:5486 Date: 2006-07-04T21:14:20+02:00 List-Id: Ludovic Brenta wrote: > You could place all calls to Debug.Put_Line inside a pragma Debug. > These are enabled only if you pass -gnata to GNAT; they are off by > default. > > HTH It helps, but it is GNAT specific. I would prefer a pure Ada solution. -- Thierry Bernier