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
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to