From: Mark A Biggar <mark.a.biggar@lmco.com>
Subject: Re: Conditional Code in Ada 95?
Date: 1998/08/24
Date: 1998-08-24T00:00:00+00:00 [thread overview]
Message-ID: <35E196F8.6163D721@lmco.com> (raw)
In-Reply-To: 35DE5320.E3128663@rational.please_no_unsolicited_mail.com
Gene Ouye wrote:
> Rex Reges 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?
> Rational Apex includes a preprocessor that can be used for conditional
> compilation, but this is certainly NOT something that the ARM requires,
> and Ada compiler vendors are NOT required to provide it. As far as I
> know, the compiler vendors have not decided to support any particular
> conditional compilation syntax much less conditional compilation in
> general.
It should also be noted that most ANSI standard C compiler preprocessors
will not work with Ada code. The 2 languages have just enough differences
in the way they break text up into tokens that a ANSI C preprocessor (whose
operation is defined in terms of token strings not characters) gets
very confused, especially about ' attributes. Older pre-ANSI text based
C preporcessors may work depending on how they habdle quoting.
--
Mark Biggar
mark.a.biggar@lmco.com
next prev parent reply other threads:[~1998-08-24 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 [this message]
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox