From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Re: C question (was: Ada & C)
Date: 2000/01/18
Date: 2000-01-18T00:00:00+00:00 [thread overview]
Message-ID: <3884C357.2592D5D7@maths.unine.ch> (raw)
In-Reply-To: 3884AA55.3F0BF240@earthlink.net
Charles Hixson wrote:
> Actually, I tend to feel that pointer casts *SHOULD NOT* be translated.
* If the Ada code is made to run in the same platform & memory model, it is surely
the wisest solution (avoids adding bugs) - but then it may not be necessary to translate the C.
* If the pointer arithmetics are specific to a memory model and you have to change
(e.g.) from 16-bit C to portable Ada, I'm afraid you may be obliged to understand what had be done
in the original code and translate the pointer casts...
G.
next prev parent reply other threads:[~2000-01-18 0:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-08 0:00 Ada & C A.J. Werner
2000-01-09 0:00 ` Robert L. Klungle
2000-01-09 0:00 ` Brian Rogoff
2000-01-09 0:00 ` Ehud Lamm
2000-01-09 0:00 ` Brian Rogoff
2000-01-10 0:00 ` Larry Kilgallen
2000-01-12 0:00 ` C question (was: Ada & C) Wes Groleau
2000-01-12 0:00 ` David Starner
2000-01-12 0:00 ` Ted Dennison
2000-01-13 0:00 ` David Starner
2000-01-13 0:00 ` Ted Dennison
2000-01-14 0:00 ` David Starner
2000-01-16 0:00 ` Keith Thompson
2000-01-18 0:00 ` Ira D. Baxter
2000-01-18 0:00 ` Charles Hixson
2000-01-18 0:00 ` Gautier [this message]
2000-01-10 0:00 ` Ada & C tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox