[Gambas-devel] No symlookup warnings for virtual class (r4572)

tobi tobias at ...692...
Fri Apr 13 16:33:42 CEST 2012


On Fri, 13 Apr 2012, Benoît Minisini wrote:
> Le 13/04/2012 16:22, tobi a écrit :
> > On Thu, 12 Apr 2012, Benoît Minisini wrote:
> >> Le 11/04/2012 21:43, tobi a écrit :
> >>> Hi,
> >>>
> >>> I noticed that with my revision #4572 I get no symbol lookup warnings when compiling a C component
> >>> with a virtual class that does not get exported but used. I can imagine that this belongs to
> >>> the *_SELF namings to access virtual stuff which means to me: interpreter voodoo that maps virtual
> >>> symbols to the current object?
> >>> It's just not clear to me how it works - and isn't that the sense of the macro? I just wanted
> >>> to ask if no symlookup warning is intended/not to prevent.
> >>>
> >>> Regards,
> >>> Tobi
> >>>
> >>
> >> Can you commit your changes so that I look at the source code?
> >>
> >> --
> >> Benoît Minisini
> >>
> >
> > Regarding the above problem?
> > It all vanished after I realised that I haven't had extern'd the class description. As I said, it
> > was a virtual class accessed via GB_PROPERTY_SELF() and running the corresponding test program
> > resulted in a 'Unknown symbol ... in class ...".
> > I'll try to reproduce the code.
> >
> > Regards,
> > Tobi
> >
> 
> Anyway can you commit your component so that I look at it? :-)
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
> 

It's on the road, but can take a minute, I haven't commited to svn yet ;)





More information about the Devel mailing list