Re: [fpc-pascal] Nil referancing doesn't raise exceptions in thread context under Linux...

2007-05-21 Thread Michael Van Canneyt
On Sun, 20 May 2007, M. Utku Karataş wrote: > Hi everyone, > > I am using version 2.1.1 on Linux and calling this procedure in a thread: > > procedure TestNullRef; > var p: ^integer; > begin >p := nil; >try >p^ := 13; // now this should raise exc! >ShowMessage(IntToStr(

[fpc-pascal] Nil referancing doesn't raise exceptions in thread context under Linux...

2007-05-20 Thread M. Utku Karataş
Hi everyone, I am using version 2.1.1 on Linux and calling this procedure in a thread: procedure TestNullRef; var p: ^integer; begin p := nil; try p^ := 13; // now this should raise exc! ShowMessage(IntToStr(p^)); except ShowMessage('TestNullRef: ' + Exception(Excep