From: Daniel Lundqvist <daniel@malarhojden.nu>
To: gcc@gcc.gnu.org
Subject: C++ and Ada.
Date: Sat, 02 Oct 2004 14:31:00 -0000 [thread overview]
Message-ID: <415E9A68.5050009@malarhojden.nu> (raw)
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 reply other threads:[~2004-10-02 12:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-02 14:31 Daniel Lundqvist [this message]
2004-10-02 18:34 ` Laurent GUERBY
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=415E9A68.5050009@malarhojden.nu \
--to=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).