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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.17.6 with SMTP id z6mr34261664ioi.5.1438085190137; Tue, 28 Jul 2015 05:06:30 -0700 (PDT) X-Received: by 10.140.29.130 with SMTP id b2mr253835qgb.1.1438085190103; Tue, 28 Jul 2015 05:06:30 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!f3no3946699igg.0!news-out.google.com!b31ni980qge.0!nntp.google.com!z61no3775583qge.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 28 Jul 2015 05:06:29 -0700 (PDT) In-Reply-To: <1ckwx9hern944$.1w0k6fbvlqo62$.dlg@40tude.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=81.203.145.32; posting-account=AFCLjAoAAABJAOf_HjgEEEi3ty-lG5m2 NNTP-Posting-Host: 81.203.145.32 References: <1ckwx9hern944$.1w0k6fbvlqo62$.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Running a preprocessor from GPS? From: EGarrulo Injection-Date: Tue, 28 Jul 2015 12:06:30 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:27082 Date: 2015-07-28T05:06:29-07:00 List-Id: On Tuesday, July 28, 2015 at 1:51:45 PM UTC+2, Dmitry A. Kazakov wrote: > Because *What* must be evaluated lazily, which is not possible in Ada. That > is why the only way to do it is, IMO, as Randy had suggested: > > if Is_On (Trace_Topic) then > Trace (Trace_Topic, ); > end if; But this means a 2/1 ratio of noise to signal. The other way to accomplish this would be by means of a preprocessor, hence my question about how to integrate a preprocessor in the Ada build chain.