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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal