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-29 12:48:36 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor Date: 29 Jan 2004 20:45:18 +0000 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <400BDB7C.40100@noplace.com> <400D2150.6000705@noplace.com> <400E72F9.8060501@noplace.com> <100upo7ln5e3k59@corp.supernews.com> <400FC8E8.2040100@noplace.com> <4011127C.4030801@noplace.com> <101377e54car5cc@corp.supernews.com> <4017AAEF.1020304@noplace.com> <4018FF55.8030800@noplace.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1075409315 25561 62.49.19.209 (29 Jan 2004 20:48:35 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 29 Jan 2004 20:48:35 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:5065 Date: 2004-01-29T20:45:18+00:00 List-Id: Marin David Condic writes: > 1) Have the two alternate lines in the same file & let the compiler > decide (based on some condition) which to actually read & interpret. The point I was fumbling towards is that you now have _two_ complicated things, probably: * the external autoconf or whatever setup that decides from the environment whether some feature is present and sets the result in environment variables, a config.h or a makefile; * and the source code that uses the condition. -S