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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ec2b9b815bd3b0bd X-Google-Attributes: gid103376,public From: dewarr@my-dejanews.com Subject: Re: Conditional Code in Ada 95? Date: 1998/08/22 Message-ID: <6rmo7b$mcb$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 383645588 References: <35DDFB42.1311@boeing.com> Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Sat Aug 22 15:15:56 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/2.02 (OS/2; I) Date: 1998-08-22T00:00:00+00:00 List-Id: In article <35DDFB42.1311@boeing.com>, rex.r.reges@boeing.com wrote: > I just saw some Ada95 code riddled with conditional > compilation statements. I wasn't aware that this > was part of Ada95 and I can't find it in the ARM. > Is this some feature that compiler vendors have > all decided to support? > > Rex Reges > There is no such feature in standard Ada 95 (this was very deliberately omitted from the language design for reasons that have been extensively discussed here and elsewhere in the past). Many vendors have indeed implemented some kind of separate conditional compilation semantics, e.g. GNAT comes with the gnatprep tool that provides preprocessing capability. There is no agreed on standard for these preprocessing capabilities, so their use should be avoided in portable code. Robert Dewar Ada Core Technologies -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum