[Gambas-user] Bug with external libraries

Jussi Lahtinen jussi.lahtinen at ...626...
Sun Jun 20 18:54:45 CEST 2010


To my surprise this bug seems to need specific earlier conditions.
I managed to isolate those conditions, see attachments.

Jussi


2010/6/19 Benoît Minisini <gambas at ...1...>:
>> Hi!
>> Here is the problem:
>>
>> Declaration in C:
>> void Lib_initr(void)
>> (I also tested void Lib_initr() with same result)
>>
>> In Gambas:
>> Public Extern Lib_initr() In "libMlpp"
>>
>> And this raises error:
>> Lib_initr()
>> Type mismatch: Wanted Void, got Integer instead
>>
>> Ubuntu 10.04 64bit, Gambas3 revision 3016
>>
>>
>> Jussi
>>
>
> Can you make a little project for me, with a library, that shows the error?
>
> Thanks in advance!
>
> Regards,
>
> --
> Benoît Minisini
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ctestlib2.tar.gz
Type: application/x-gzip
Size: 4212 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20100620/58012b56/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExtrnfBug-0.0.2.tar.gz
Type: application/x-gzip
Size: 4932 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20100620/58012b56/attachment-0001.bin>


More information about the User mailing list