[Gambas-user] Bug with external libraries

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Jun 23 20:23:10 CEST 2010


Sorry, I didn't notice new revision!

Jussi


On Wed, Jun 23, 2010 at 20:50, Jussi Lahtinen <jussi.lahtinen at ...626...> wrote:
> Valgrind doesn't tell much... Does strace, ltrace, or?, logs help you?
>
> Jussi
>
>
> On Sun, Jun 20, 2010 at 19:54, Jussi Lahtinen <jussi.lahtinen at ...626...> wrote:
>> 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
>>>
>>
>




More information about the User mailing list