comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <Nick.Roberts@dial.pipex.com>
Subject: Compiler Directives
Date: 1998/01/24
Date: 1998-01-24T00:00:00+00:00	[thread overview]
Message-ID: <01bd2911$7e932fc0$35f882c1@xhv46.dial.pipex.com> (raw)
In-Reply-To: 34C3B778.794B@tolstoy.mdc.com


Maybe you know this, but (to my knowledge) Ada compilers tend not to have
special conditional compilation facilities.  The assumption is that an
optimising compiler will remove 'dead code', so that the use of 'if'
statements will achieve the same effect.

Of course, the 'if' statement is not available among declarations, so it's
not quite the same thing; this point sometimes gets discussed on
comp.lang.ada (cue for topic?).

-- 

Nick Roberts
Croydon, UK

Proprietor, ThoughtWing Software; Independent Software Development
Consultant
* Nick.Roberts@dial.pipex.com * Voicemail & Fax +44 181-405 1124 *
*** Always game for a verbal joust (usually as the turkey) ***


John T Vegezzi 312C M 237110 <j_vegezz@tolstoy.mdc.com> wrote in article
<34C3B778.794B@tolstoy.mdc.com>...
> Is there a conditional compile directive in the GNAT Ada compiler?  I do
> not have much documentation on the compiler.  Thanks in advance.





      reply	other threads:[~1998-01-24  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-19  0:00 GNAT compiler directive John T Vegezzi 312C M 237110
1998-01-24  0:00 ` Nick Roberts [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