[fpc-pascal] Gecko / Firefox / XPCOM

Jonas Maebe jonas.maebe at elis.ugent.be
Sun May 24 14:30:17 CEST 2009


On 21 May 2009, at 22:34, Henrik Genssen wrote:

> nsMemory.pas(157,17) Error: Incompatible types: got  
> "Realloc(Pointer, LongInt):^untyped" expected "<procedure variable  
> type of function(var Pointer, LongInt):^untyped;Register>"

As the error message says: the compiler expects the first parameter of  
realloc to be a "var" parameter, while the declaration of realloc  
apparently uses a value parameter.


Jonas



More information about the fpc-pascal mailing list