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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd63afa4dc364b7e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-26 14:56:07 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!209.81.14.120!feeder.via.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail From: "Phaedrus" Newsgroups: comp.lang.ada References: <98m938$2iod0$1@ID-25716.news.dfncis.de> Subject: Re: Implementing C/C++ style #include... X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Mon, 26 Mar 2001 22:55:26 GMT NNTP-Posting-Host: 209.178.103.28 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 985647326 209.178.103.28 (Mon, 26 Mar 2001 14:55:26 PST) NNTP-Posting-Date: Mon, 26 Mar 2001 14:55:26 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: supernews.google.com comp.lang.ada:6089 Date: 2001-03-26T22:55:26+00:00 List-Id: >From your example, it looks like you just want to use the pre-processor to maintain different code configurations. Why not just tie the code differences to one or two packages, and then keep different versions of them on the different environments? If that doesn't work for you (Yeah, I knew it wouldn't. It never does.) then I believe that both compilers come with a pragma that might suit your purposes. Which one? Uh, well, I can't quite remember, but I seem to vaguely remember something of the kind. What can I say, RTFM. Sorry. Phaedrus