From: Laurent GUERBY <laurent@guerby.net>
To: Daniel Lundqvist <daniel@malarhojden.nu>
Cc: gcc@gcc.gnu.org
Subject: Re: C++ and Ada.
Date: Sat, 02 Oct 2004 18:34:00 -0000 [thread overview]
Message-ID: <1096719923.29350.15.camel@pc.site> (raw)
In-Reply-To: <415E9A68.5050009@malarhojden.nu>
I'm not an expert on C++/Ada interfacing, but did you try
importing with the C convention? Otherwise my best
advice would be to submit a testcase and detailed
explanations on http://gcc.gnu.org/bugzilla/
Laurent
On Sat, 2004-10-02 at 14:09, Daniel Lundqvist wrote:
> Hi,
>
> I've been toying around with Ada lately. Trying to add Ada bindings to a
> C++ library. Almost everything works perfect except one thing.
> I can't seem to import classes without virtual tables.
>
> Pragma CPP_Constructor seem to require tagged types. And if I mark the
> type tagged Pragma CPP_Class needs it to have a Vtable_Ptr field. But
> then gnats idea of how class looks like isn't correct.
>
> Is there a way around this?
>
> I'm still quite new to Ada so I've probably missed something.
>
> If this is not the right forum for this I would appreciate pointers in
> the right direction.
>
> Thanks in advance,
> Daniel.
>
>
next prev parent reply other threads:[~2004-10-02 12:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-02 14:31 Daniel Lundqvist
2004-10-02 18:34 ` Laurent GUERBY [this message]
2004-10-02 20:50 ` Robert Dewar
2004-10-03 6:48 ` Daniel Lundqvist
2004-10-03 6:51 ` Robert Dewar
2004-11-26 17:16 ` Luke A. Guest
2004-11-26 17:24 ` Robert Dewar
2004-11-26 19:10 ` Robert Dewar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1096719923.29350.15.camel@pc.site \
--to=laurent@guerby.net \
--cc=daniel@malarhojden.nu \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).