C++ and Ada.
Daniel Lundqvist
daniel@malarhojden.nu
Sat Oct 2 14:31:00 GMT 2004
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.
More information about the Gcc
mailing list