From: rational.com!geneo@uunet.uu.net (Gene Ouye)
Subject: Re: Question of Visibility
Date: 8 Jul 93 14:21:01 GMT [thread overview]
Message-ID: <1993Jul8.142101.16075@rational.com> (raw)
Wes Groleau X7574 (groleau@e7sa.crd.ge.com) wrote:
: In all the discussion on "hiding" STANDARD.BOOLEAN with a different bit
: pattern, I have yet to see two issues addressed:
: 1. I would expect STANDARD.BOOLEAN in any implementation to match the interna
l
: hardware's conditional instructions.
: 2. IF one somehow succeeded in hiding STANDARD.BOOLEAN, wouldn't the compiler
: generate the same code as before for if statements?
: Wes Groleau
Wes, I tried to email this to you, but it bounced back:
FYI:
On Friday I sent an email to Boris (couldn't post it because our news was
acting up) that mentioned the following:
o "Use"-ing a Boolean_Types_Pkg would not redefine the predefined operators
that return Standard.Boolean. This means that the code will have to change.
If nothing else, there will have to be explicit conversions between the
Boolean_Type_Pkg.Boolean and Standard.Boolean before/after every call to
the FORTRAN library that expects/returns boolean values.
o If the code has to change, IMHO it would be best to place a skin over the
pragma Interface to the FORTRAN library that would do the conversion between
the Ada and the FORTRAN perceptions of Boolean. That would hide the FORTRAN
specifics at an appropriate level, and would not make the entire Ada
application dependent on FORTRAN's representation of a Boolean.
Gene Ouye (geneo@rational.com)
next reply other threads:[~1993-07-08 14:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-07-08 14:21 Gene Ouye [this message]
-- strict thread matches above, loose matches on Subject: below --
1993-07-08 12:17 Question of Visibility Wes Groleau X7574
1993-07-07 21:15 Dave Bashford
1993-07-07 21:07 Bor is Pelakh
1993-07-07 20:15 Tucker Taft
1993-07-02 14:53 agate!spool.mu.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!cs0.dasd.h
1993-07-02 13:36 Boris Pelakh
1993-07-01 21:44 Gene Ouye
1993-07-01 18:39 Boris Pelakh
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox