[fpc-devel] FPC Delphi compatibility question...

Michael Schnell mschnell at lumino.de
Fri Jun 19 11:39:59 CEST 2009


Why do you consider this a bug ?

IMHO it's obvious that the value returned by a function that does not
assign anything to Result is undefined and thus can be whatever the
implementation decides. Of course compiling a function that returns
without assigning a function value should result in a warning.

-Michael



More information about the fpc-devel mailing list