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 09:53:17 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!t-online.de!newsfeed.gamma.ru!Gamma.RU!newsfeed.sovam.com!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor References: <_JSdna166JuxFo3dRVn-hg@comcast.com> <401115B7.5020205@noplace.com> <101djamfnrb185a@corp.supernews.com> <9due1094ls9t840tqfv7ir6etcieg777u6@4ax.com> In-Reply-To: <9due1094ls9t840tqfv7ir6etcieg777u6@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 29 Jan 2004 12:39:07 -0500 NNTP-Posting-Host: 198.96.223.163 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1075397895 198.96.223.163 (Thu, 29 Jan 2004 12:38:15 EST) NNTP-Posting-Date: Thu, 29 Jan 2004 12:38:15 EST Organization: Bell Sympatico Xref: archiver1.google.com comp.lang.ada:5050 Date: 2004-01-29T12:39:07-05:00 List-Id: Dmitry A. Kazakov wrote: > On Tue, 27 Jan 2004 16:41:50 -0500, "Warren W. Gay VE3WWG" > wrote: >>Randy Brukardt wrote: >>>"Warren W. Gay VE3WWG" wrote in message >>>news:ZwxRb.49242$Kg6.360396@news20.bellglobal.com... >>>.... > Conditional compilation is not less elegant it is disastrous. Ada > design is based on contracts. A conditional compilation contradicts to > this very principle. What kind of contract has Foo? > > #if ... > procedure Foo (X : in out Integer); > #else > type Foo is record > X : String; > end record; > #end if > > IMO the solution is abstract packages. I have presented the case as far as I have energy for it. The discussions here have lead me to conclude that I'll have to blaze my own trail (with help from gnatprep), as I have always had to do. I never expected much agreement on this anyway. It was however, interesting to hear that I am not the only one to share this opinion. Having said my piece on this, and I'm signing off. -- Warren W. Gay VE3WWG http://ve3wwg.tk