From: eachus@mitre-bedford.arpa (Robert I. Eachus)
Subject: Re: conditional compiles ?
Date: 29 Sep 92 16:37:36 GMT [thread overview]
Message-ID: <EACHUS.92Sep29113736@Dr_No.mitre.org> (raw)
The other replies to this message are barking up the wrong tree.
We all know that in Ada it is almost always possible to code in an
implementation independant manner so a first order answer is that you
don't use anything like #ifdef. (Or #include, a lot of early Ada
compilers implemented pragma INCLUDE, but no one ever used it.) If
you do have to have hardware specific code, the usual approach is to
put all that code in one or two packages and if necessary maintain
several versions of it.
--
Robert I. Eachus
with STANDARD_DISCLAIMER;
use STANDARD_DISCLAIMER;
function MESSAGE (TEXT: in CLEVER_IDEAS) return BETTER_IDEAS is...
next reply other threads:[~1992-09-29 16:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-09-29 16:37 Robert I. Eachus [this message]
-- strict thread matches above, loose matches on Subject: below --
1992-09-22 20:22 conditional compiles ? Dave Marshall
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox