Re: orbitcpp module created



On Wed, 2002-09-18 at 13:50, Michael Meeks wrote:
> 
> 
> On Tue, 2002-09-17 at 17:28, Murray Cumming wrote:
> > But now it crashes when calling the backend idl-compiler library's
> > function. I think this is what Mark referred to earlier. It doesn't seem
> > to be even executing the first line of the backend function.
> 
> 	Wierd indeed.
> 
> > I'm hoping that someone with more experience of gmodule can help with
> > this problem.
> 
> 	And all the symbols; use the C calling convention ? bracketed with
> extern "C" ? I don't know how you'd do that for a function pointer /
> vtable fill ? perhaps extern "C" { static forward prototypes; ? }.

Yes:
http://cvs.gnome.org/lxr/source/orbitcpp/orbitcpp/idl-compiler/main.cc#43

In my local copy I have taken that idlCppBackend() function out of the
extern C, because it's an internal function. It makes no difference.

I have also checked that it's being passed the correct parameter from
ORBit2 HEAD, but I can't see a problem.

-- 
Murray Cumming
murrayc@usa.net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]