Re: [Gambas-user] Bug with external libraries

2010-06-23 Thread Jussi Lahtinen
Valgrind doesn't tell much... Does strace, ltrace, or?, logs help you? Jussi On Sun, Jun 20, 2010 at 19:54, Jussi Lahtinen jussi.lahti...@gmail.com wrote: To my surprise this bug seems to need specific earlier conditions. I managed to isolate those conditions, see attachments. Jussi

Re: [Gambas-user] Bug with external libraries

2010-06-23 Thread Jussi Lahtinen
Sorry, I didn't notice new revision! Jussi On Wed, Jun 23, 2010 at 20:50, Jussi Lahtinen jussi.lahti...@gmail.com 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.lahti...@gmail.com wrote: To my

Re: [Gambas-user] Bug with external libraries

2010-06-20 Thread Jussi Lahtinen
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 gam...@users.sourceforge.net: Hi! Here is the problem: Declaration in C: void Lib_initr(void) (I also tested void Lib_initr() with

[Gambas-user] Bug with external libraries

2010-06-19 Thread Jussi Lahtinen
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

Re: [Gambas-user] Bug with external libraries

2010-06-19 Thread Benoît Minisini
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