comp.lang.ada
 help / color / mirror / Atom feed
* GNAT compiler directive
@ 1998-01-19  0:00 John T Vegezzi 312C M 237110
  1998-01-24  0:00 ` Compiler Directives Nick Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: John T Vegezzi 312C M 237110 @ 1998-01-19  0:00 UTC (permalink / raw)



Is there a conditional compile directive in the GNAT Ada compiler?  I do
not have much documentation on the compiler.  Thanks in advance.

-- 
John T Vegezzi 
j_vegezz@tolstoy.mdc.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Compiler Directives
  1998-01-19  0:00 GNAT compiler directive John T Vegezzi 312C M 237110
@ 1998-01-24  0:00 ` Nick Roberts
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 1998-01-24  0:00 UTC (permalink / raw)



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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-01-24  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-19  0:00 GNAT compiler directive John T Vegezzi 312C M 237110
1998-01-24  0:00 ` Compiler Directives Nick Roberts

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