[Gambas-devel] About gb.gsl components

Benoît Minisini gambas at ...1...
Sun Jul 8 18:56:00 CEST 2012


Le 08/07/2012 18:34, Emil Lenngren a écrit :
> More segfaults:
>
> Dim C As Complex = Null
> Print 1 * C
>
> And
>
> Dim A As New Complex(1, 4)
> Dim C As Complex = A
> Dim I As Integer
>
> For I = 1 To 2
>    Print Abs(C) ' or for example Print C * C
>    C = Null
> Next
>
> /Emil
>
> 2012/7/8 Benoît Minisini <gambas at ...1...
> <mailto:gambas at ...1...>>
>
>     Le 08/07/2012 18:01, Emil Lenngren a écrit :
>      > Hi. Some null checks seems to be required. For example:
>      >
>      > Dim A As Complex = NULL
>      > Print Abs(A)
>      >
>      > -> Segmentation fault
>      >
>
>     OK, should be fixed in revision #4912.
>
>     --
>     Benoît Minisini
>
>

Yep. Should really be better in revision #4913!

-- 
Benoît Minisini






More information about the Devel mailing list