comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: Interfacing Ada95 to C++ - Object passing problem
Date: Sat, 27 Apr 2002 15:50:28 +0200
Date: 2002-04-27T15:50:28+02:00	[thread overview]
Message-ID: <3CCAACA4.A795BD83@nbi.dk> (raw)
In-Reply-To: 6c12025b.0204252220.719f0909@posting.google.com

Markus Knauss wrote:

> My question is why the "in out" attributes must be omitted to get it
> all working? I do not know why and so I'm asking if anybody knows what
> is going on.

Just a wild guess: Because your Ada compiler only uses a
pointer to transfer a tagged record when it is a "in"
parameter, and your C++ compiler always uses pointers for
transferring of classes.

Jacob
-- 
Sk�ne Sj�lland Linux User Group - http://www.sslug.dk/
N�ste m�de: Linux til min mor.
Torsdag den 2. maj 2002 p� Malm� H�gskola, Citadellsv�gen 7.



      reply	other threads:[~2002-04-27 13:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-25 11:44 Interfacing Ada95 to C++ - Object passing problem Markus Knauss
2002-04-25 12:39 ` Neil Butterworth
2002-04-25 17:50 ` Stephen Leake
2002-04-26  6:20   ` Markus Knauss
2002-04-27 13:50     ` Jacob Sparre Andersen [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox