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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-22 11:02:29 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!chcgil2-snh1.gtei.net!news.bbnplanet.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor Date: Thu, 22 Jan 2004 19:02:29 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <400BDB7C.40100@noplace.com> <400D2150.6000705@noplace.com> <400E72F9.8060501@noplace.com> <400FD4F7.8050805@noplace.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1074798149 19852 134.91.1.34 (22 Jan 2004 19:02:29 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 22 Jan 2004 19:02:29 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:4670 Date: 2004-01-22T19:02:29+00:00 List-Id: Warren W. Gay VE3WWG wrote: : MDC pointed out that you cannot conditionally do "with" : as one example. Withing or not cannot be an option unless another possibly related conditional requires a unit or not. If there is no other conditional text, renaming an empty package will do. : Implementation defined pragmas are : another area of difficulty. Optional features are : a pain to deal with since there is no way to feed : values into a compile process (using make), : without creating make "steps" that process the : source code before hand (ie. this becomes a manual : preprocessing step). So what is the greater pain? To me, placing conditionals near the conditional sections is tempting, but usually leads to #ifs all over the place. It is like writing tasking constructs without language support, or like wrting your own dispatcher. If we had a way to declare for any of the 2**N compilations which conditions are to be met, and which parts of the program text have to be in place for one of the compilations, configuration could be done in a systematic manner, with the help of a computer program that does configuration checking, and with a readable statement (declarative in style) of the programs dependences. -- Georg