Re: gmmproc leaves _CONVERT macros



On Tue, 2008-06-17 at 10:10 -0500, Gregory Haynes wrote:
> I discovered this was caused because I did not have the 
> include(convert_base.m4) line in my convert.m4.

Ah, that makes sense.

CCing gtkmm-list for people who google this problem in the future.

> Thanks for the response.
> 
> Murray Cumming wrote:
> > On Fri, 2008-05-30 at 20:07 -0700, Greg Haynes wrote:
> >   
> >> Hi,
> >> I am trying to wrap a library (libinfinity) using gmmproc.  I dont get
> >> any command line errors but _CONVERT macros are left in my .cc code that
> >> keep it from compiling.  Can anyone explain the significance of this?
> >>
> >> Heres is some sample code:
> >>  
> >> _WRAP_METHOD(void watch(NativeSocket *, Event, IoFunction, void *, Glib::Object::DestroyNotify), inf_io_watch)
> >>
> >> -YIELDS-
> >> void Io::watch(int* p1, Event p2, IoFunction p3, void * p4, Glib::Object::DestroyNotify p5)
> >> {
> >>  inf_io_watch(gobj(), _CONVERT(int*,InfNativeSocket*,p1,0), _CONVERT(Event,InfIoEvent,p2,0), _CONVERT(IoFunction,InfIoFunc,p3,0), _CONVERT(void*,gpointer,p4,0), _CONVERT(Glib::Object::DestroyNotify,GDestro    yNotify,p5,0));
> >> }
> >>     
> >
> > I've never seen this problem before. Those _CONVERT() macros should be
> > converted by m4 to real C++ code.
> >
> > If this is in a public svn (or similar) somewhere, maybe we could take a
> > look.
> >
> >   
> 
-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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