Re: [fpc-pascal] SSE in overloaded operators

2004-12-18 Thread Florian Klaempfl
Bartek wrote: hi, i'm trying to get this piece of code to work. but it fails on execution and returns a SIGSEV signal. i think this is caused by the weird code, fpc creates. fpc tryed to access the wide sse registers with multiple short 32bit registers, and at some point, protected memory is access

[fpc-pascal] problem with procedural types

2004-12-18 Thread Dariusz Mazur
Hi I upgrade Lazarus and FPT to current snapshot an I have problem I can compile this procedure procedure tForm1.MouseCLick(sender:tObject); begin end; procedure tForm1.onnn(var onc : tNotifyEvent); begin onclick:={$IFDEF [EMAIL PROTECTED]; end; compiler claim: Error: incompatible types: got "Poin

Re: [fpc-pascal] problem with procedural types

2004-12-18 Thread Jonas Maebe
On Dec 18, 2004, at 21:01, Dariusz Mazur wrote: procedure tForm1.onnn(var onc : tNotifyEvent); begin onclick:={$IFDEF [EMAIL PROTECTED]; end; compiler claim: Error: incompatible types: got "Pointer" expected "" This error message looks correct (at least if you are compiling in fpc or objfpc mode)

Re: [fpc-pascal] problem with procedural types

2004-12-18 Thread Dariusz Mazur
Jonas Maebe wrote: But when it was changed (if any) I port all my source to FPC (it compile in both Delphi and FPC) in many places I use {$IFDEF [EMAIL PROTECTED] and now all must be deleted or I don't know something Darek On Dec 18, 2004, at 21:01, Dariusz Mazur wrote: procedure tForm1.onnn(var o

Re: [fpc-pascal] problem with procedural types

2004-12-18 Thread Jonas Maebe
On Dec 18, 2004, at 21:37, Dariusz Mazur wrote: But when it was changed (if any) Several procvar bugs have been fixed lately. There have been no deliberate changes, although there may be some due to the fixes. I port all my source to FPC (it compile in both Delphi and FPC) in many places I use {