Did you compile Gambas with debugging information enabled ?
Gambas is compiled with following steps:
1. ./reconf
2. ./configure -C
3. make
4. sudo make install
Are debugging information enabled by default?
Otherwise you will have more useful information by running your
What happens if you declare Aja_Mtrx that way?
void Aja_Mtrx(int k0[31][], int k1[31][], int k2[31][])
It trows error: array type has incomplete element type
And that way?
void Aja_Mtrx(int k0[31][31], int k1[31][31], int k2[31][31])
Same, signal 11.
Jussi
What happens if you declare Aja_Mtrx that way?
void Aja_Mtrx(int k0[31][], int k1[31][], int k2[31][])
It trows error: array type has incomplete element type
And that way?
void Aja_Mtrx(int k0[31][31], int k1[31][31], int k2[31][31])
Same, signal 11.
Do you
OK, I compiled revision 3003, still signal 11.
But different valgrind output (see attachment).
Jussi
2010/6/13 Benoît Minisini gam...@users.sourceforge.net:
What happens if you declare Aja_Mtrx that way?
void Aja_Mtrx(int k0[31][], int k1[31][], int k2[31][])
It trows error:
Forgot to mention this valgrind output is made with declaration:
void Aja_Mtrx(int k0[31][31], int k1[31][31], int k2[31][31])
Jussi
On Sun, Jun 13, 2010 at 17:41, Jussi Lahtinen jussi.lahti...@gmail.com wrote:
OK, I compiled revision 3003, still signal 11.
But different valgrind output (see
...but declaration:
void Aja_Mtrx(int k0[][31], int k1[][31], int k2[][31])
Gives same valgrind output.
Jussi
On Sun, Jun 13, 2010 at 17:41, Jussi Lahtinen jussi.lahti...@gmail.com wrote:
Forgot to mention this valgrind output is made with declaration:
void Aja_Mtrx(int k0[31][31], int
...but declaration:
void Aja_Mtrx(int k0[][31], int k1[][31], int k2[][31])
Gives same valgrind output.
Jussi
OK, the bug should be fixed in revision #3004!
Regards,
--
Benoît Minisini
--
ThinkGeek and
It is working now! Thanks!!
Jussi
2010/6/13 Benoît Minisini gam...@users.sourceforge.net:
...but declaration:
void Aja_Mtrx(int k0[][31], int k1[][31], int k2[][31])
Gives same valgrind output.
Jussi
OK, the bug should be fixed in revision #3004!
Regards,
--
Benoît Minisini
Hope this helps...
Program received signal SIGSEGV, Segmentation fault.
0x77535f5e in ffi_call_unix64 () from /usr/lib/libffi.so.5
(gdb) bt
#0 0x77535f5e in ffi_call_unix64 () from /usr/lib/libffi.so.5
#1 0xff0077535c84 in ?? ()
#2 0x in ?? ()
#3
Hope this helps...
Program received signal SIGSEGV, Segmentation fault.
0x77535f5e in ffi_call_unix64 () from /usr/lib/libffi.so.5
(gdb) bt
#0 0x77535f5e in ffi_call_unix64 () from /usr/lib/libffi.so.5
#1 0xff0077535c84 in ?? ()
#2 0x in ?? ()
#3
Did you compile Gambas with debugging information enabled ?
Gambas is compiled with following steps:
1. ./reconf
2. ./configure -C
3. make
4. sudo make install
Are debugging information enabled by default?
Otherwise you will have more useful information by running your program inside
Function declaration is from example code I found, I don't understand
logic of that notation.
BUT it works with Gambas2, and it worked fine with earlier revision of Gambas3.
I'm not saying that it makes it correct way pass 2d arrays, but makes
me puzzled...
Jussi
2010/6/10 Benoît Minisini
I changed code to (makes very much more sense to me):
void Aja_Mtrx(int k0[][31], int k1[][31], int k2[][31])
But it still doesn't work with Gambas3.
With Gambas2 everything is OK.
Jussi
On Thu, Jun 10, 2010 at 18:18, Jussi Lahtinen jussi.lahti...@gmail.com wrote:
Function declaration is from
Hi!
I have use external function for certain tasks successfully, but I run
into problems with recent revision of Gambas.
In Gambas:
Public Extern Aja_Mtrx(pk0 As Pointer, pk1 As Pointer, pk2 As Pointer)
In libMlpp
Public k0 As New Integer[31, 31]
Public k1 As New Integer[31, 31]
Public k2 As New
14 matches
Mail list logo