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

Benoît Minisini gambas at ...1...
Fri Apr 13 16:31:06 CEST 2012


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




More information about the Devel mailing list