This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ and Ada.


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.
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]