From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Ada Core Technologies announces GNATCOM
Date: 2000/04/12
Date: 2000-04-12T00:00:00+00:00 [thread overview]
Message-ID: <8d0ru2$arc$1@nnrp1.deja.com> (raw)
In-Reply-To: fg6I4.4981$Qy3.385311@news.pacbell.net
In article <fg6I4.4981$Qy3.385311@news.pacbell.net>,
tmoran@bix.com wrote:
> > ... in fact we copied the definition
> > of C_Pass_By_Copy from the Intermetrics compiler (even
though
> > we really dislike the design, especially since it is fixing
> > a clear error in the RM in a kludgy way :-)
> It does seem strange to designate a *type* as C_Pass_By_Copy
> when of course it's a particular parameter to a particular
> function that needs to be passed by value. Is that your
> complaint, or a different one. What would be your
> preferred solution?
Fix the RM! The RM is plain wrong, just due to misunderstanding
of C. It is obvious that a record passed as an IN parameter
should map to a C struct passed as a value parameter.
But it's too late now for that (that was our initial solution
in GNAT, and perhaps we should have stuck with it).
The worst feature of C_Pass_By_Copy is the form with a byte
count giving the cutoff.
A bit of a mess here ...
Sent via Deja.com http://www.deja.com/
Before you buy.
next prev parent reply other threads:[~2000-04-12 0:00 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-07 0:00 Ada Core Technologies announces GNATCOM Robert Dewar
2000-04-07 0:00 ` Vladimir Olensky
2000-04-08 0:00 ` Robert Dewar
2000-04-07 0:00 ` Ted Dennison
2000-04-08 0:00 ` tmoran
2000-04-08 0:00 ` David Botton
2000-04-08 0:00 ` Robert Dewar
2000-04-09 0:00 ` tmoran
2000-04-09 0:00 ` Robert Dewar
2000-04-09 0:00 ` Larry Kilgallen
2000-04-09 0:00 ` Robert Dewar
2000-04-09 0:00 ` tmoran
2000-04-09 0:00 ` Robert Dewar
2000-04-09 0:00 ` Marin D. Condic
2000-04-09 0:00 ` Brian Rogoff
2000-04-09 0:00 ` David Starner
2000-04-10 0:00 ` Gisle S�lensminde
2000-04-10 0:00 ` Hyman Rosen
2000-04-11 0:00 ` Gisle S�lensminde
2000-04-11 0:00 ` Hyman Rosen
2000-04-10 0:00 ` Marin D. Condic
2000-04-11 0:00 ` Tucker Taft
2000-04-09 0:00 ` tmoran
2000-04-12 0:00 ` Robert Dewar [this message]
2000-04-12 0:00 ` Tarjei T. Jensen
2000-04-12 0:00 ` Robert Dewar
2000-04-12 0:00 ` Robert A Duff
2000-04-13 0:00 ` Robert Dewar
2000-04-13 0:00 ` Robert A Duff
2000-04-15 0:00 ` Robert Dewar
2000-04-12 0:00 ` David Botton
2000-04-12 0:00 ` Robert Dewar
2000-04-12 0:00 ` DuckE
2000-04-13 0:00 ` Robert Dewar
2000-04-12 0:00 ` David Botton
2000-04-12 0:00 ` Hyman Rosen
2000-04-12 0:00 ` David Botton
2000-04-13 0:00 ` Tarjei T. Jensen
2000-04-13 0:00 ` Robert Dewar
2000-04-14 0:00 ` Geoff Bull
2000-04-14 0:00 ` dale
2000-04-13 0:00 ` Robert Dewar
2000-04-12 0:00 ` C_Pass_By_Value, was " tmoran
2000-04-08 0:00 ` Tom Hargraves
2000-04-08 0:00 ` David
2000-04-08 0:00 ` Robert Dewar
2000-04-08 0:00 ` David Starner
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox