[fpc-pascal]parameter is 0x0 on callback

Marco van de Voort marcov at stack.nl
Fri Jun 4 21:45:38 CEST 2004


> > 1.9.4 reports:
> > 
> > main192.pp(25,52) Error: Incompatible type for arg no. 1: Got "<address of
> > procedure(TCustomer);CDecl>", expected "<procedure variable type of
> > procedure(TCustomer);Register>"
> 
> Ah, I see. I'll change the declaration of the callback proc then.
> 
> I hope the version 1.9.4 is getting into the ports system of FreeBSD
> soon, I got the port yesterday which is still at 1.9.2 (not that far
> behind ;).

Don't expect it too soon, it is quite some work, and worse, the time between
committing and submitting is quite long on avg.
 
> Maybe I can use the Linux emulation and use 1.9.4/Linux for error
> detection immediately ...

Or simply use the 1.9.4/freebsd release?





More information about the fpc-pascal mailing list