comp.lang.ada
 help / color / mirror / Atom feed
From: dewarr@my-dejanews.com
Subject: Re: Conditional Code in Ada 95?
Date: 1998/08/22
Date: 1998-08-22T00:00:00+00:00	[thread overview]
Message-ID: <6rmo7b$mcb$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 35DDFB42.1311@boeing.com

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




      parent reply	other threads:[~1998-08-22  0:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-21  0:00 Conditional Code in Ada 95? Rex Reges
1998-08-21  0:00 ` Gene Ouye
1998-08-24  0:00   ` Mark A Biggar
1998-08-27  0:00     ` Samuel T. Harris
1998-08-27  0:00       ` David C. Hoos, Sr.
1998-08-22  0:00 ` Gautier.DeMontmollin
1998-08-23  0:00   ` dewar
1998-08-24  0:00     ` Gautier.DeMontmollin
1998-08-24  0:00   ` Michael F Brenner
1998-08-25  0:00     ` Jean-Pierre Rosen
1998-08-28  0:00       ` Laurent Pautet
1998-08-25  0:00     ` dewarr
1998-08-25  0:00       ` Richard D Riehle
1998-08-26  0:00         ` dennison
1998-08-26  0:00           ` Richard D Riehle
1998-08-27  0:00             ` dennison
1998-08-26  0:00       ` Michael F Brenner
1998-08-22  0:00 ` dewarr [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox