From: tmoran@bix.com (Tom Moran)
Subject: Re: PRECOMPILATION
Date: 1999/02/09
Date: 1999-02-09T00:00:00+00:00 [thread overview]
Message-ID: <36c0b3ad.367441@news.pacbell.net> (raw)
In-Reply-To: 918556681.260459@dedale.pandemonium.fr
>Are there precompilation instructions in Ada95,
>like in C (#ifdef,...etc) ? In other words, how can
>I set compilation conditions ?
Most compilers are smart enough to delete code in a situation like:
Sometimes : constant Boolean := False;
....
if Sometimes then
stuff;
end if;
ie, if the optimizer knows "stuff" can never be executed, it will
simply drop it and the if-test.
Having worked on well known shrinkwrap software coded with the C
preprocessor, I would STRONGLY recommend against going that route.
Yes, it's just a tool, and judiciously used can be useful. So's a
hydrogen bomb.
next prev parent reply other threads:[~1999-02-09 0:00 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-09 0:00 PRECOMPILATION =:-) Vincent
1999-02-09 0:00 ` Tom Moran [this message]
1999-02-10 0:00 ` PRECOMPILATION Pascal MALAISE
1999-02-10 0:00 ` PRECOMPILATION Tom Moran
1999-02-09 0:00 ` PRECOMPILATION Marin David Condic
1999-02-09 0:00 ` PRECOMPILATION Tucker Taft
1999-02-10 0:00 ` PRECOMPILATION Fraser Wilson
1999-02-18 0:00 ` PRECOMPILATION Samuel Mize
1999-02-18 0:00 ` PRECOMPILATION Rakesh Malhotra
1999-02-19 0:00 ` PRECOMPILATION Samuel Mize
1999-02-18 0:00 ` PRECOMPILATION robert_dewar
1999-02-28 0:00 ` PRECOMPILATION Robert A Duff
1999-02-09 0:00 ` PRECOMPILATION Larry Kilgallen
1999-02-09 0:00 ` PRECOMPILATION Pascal MALAISE
1999-02-09 0:00 ` PRECOMPILATION Tom Moran
1999-02-10 0:00 ` PRECOMPILATION Pascal MALAISE
1999-02-10 0:00 ` PRECOMPILATION Tom Moran
1999-02-11 0:00 ` PRECOMPILATION Pascal MALAISE
1999-02-12 0:00 ` PRECOMPILATION robert_dewar
1999-02-14 0:00 ` PRECOMPILATION Pascal MALAISE
1999-02-09 0:00 ` PRECOMPILATION Tucker Taft
1999-02-09 0:00 ` PRECOMPILATION Tom Moran
1999-02-10 0:00 ` PRECOMPILATION dennison
1999-02-10 0:00 ` PRECOMPILATION robert_dewar
1999-02-10 0:00 ` PRECOMPILATION Corey Ashford
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox