Re: [fpc-devel] FPC 2.0.0 vs FPC 2.0.2 (div by zero)

2006-03-14 Thread Felipe Monteiro de Carvalho
Hello, Is there a better way to disable fpu exception other then linking to libc and calling fedisableexcept ??? thanks a lot, -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/l

[fpc-devel] Assigning class procedures

2006-03-14 Thread Michalis Kamburelis
Hi I'm just migrating a lot of code from delphi to objfpc mode, and I noticed that in objfpc mode I can't do MyFunc := @TMyClass.Func; where TMyClass.Func is a class procedure that matches the type of MyFunc. I'm attaching the complete source code. With fpc -S2 test_1.pas the attached c

Re: [fpc-devel] FPC 2.0.0 vs FPC 2.0.2 (div by zero)

2006-03-14 Thread Peter Vreman
> Hello, > > Is there a better way to disable fpu exception other then linking to > libc and calling fedisableexcept ??? Set8087CW() in system unit SetExceptionMask() in unit math ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.f

Re: [fpc-devel] Assigning class procedures

2006-03-14 Thread Peter Vreman
> Hi > > I'm just migrating a lot of code from delphi to objfpc mode, and I > noticed that in objfpc mode I can't do > >MyFunc := @TMyClass.Func; > > where TMyClass.Func is a class procedure that matches the type of > MyFunc. I'm attaching the complete source code. With >fpc -S2 test_1.pas