From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,955187ea690ddfda X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-27 06:50:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!news.net.uni-c.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Interfacing Ada95 to C++ - Object passing problem Date: Sat, 27 Apr 2002 15:50:28 +0200 Organization: Centre for Chaos and Turbulence Studies, Niels Bohr Institute Message-ID: <3CCAACA4.A795BD83@nbi.dk> References: <6c12025b.0204250344.5944d770@posting.google.com> <6c12025b.0204252220.719f0909@posting.google.com> NNTP-Posting-Host: alf.nbi.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.net.uni-c.dk 1019915429 36862 130.225.212.55 (27 Apr 2002 13:50:29 GMT) X-Complaints-To: usenet@news.net.uni-c.dk NNTP-Posting-Date: Sat, 27 Apr 2002 13:50:29 +0000 (UTC) X-Mailer: Mozilla 4.78 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: fo,da,no,sv,is,de,fr,en Xref: archiver1.google.com comp.lang.ada:23168 Date: 2002-04-27T15:50:28+02:00 List-Id: 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.