[Gambas-user] Signal 11, when calling external function

Jussi Lahtinen jussi.lahtinen at ...626...
Sun Jun 13 16:45:15 CEST 2010


...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.lahtinen at ...626...> wrote:
> 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.lahtinen at ...626...> wrote:
>> OK, I compiled revision 3003, still signal 11.
>> But different valgrind output (see attachment).
>>
>> Jussi
>>
>>
>> 2010/6/13 Benoît Minisini <gambas at ...1...>:
>>>> > 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 have the same valgrind memcheck output? Can you use the last subversion
>>> revision?
>>>
>>> --
>>> 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