Hi Folks!
Seemingly the following code snippet cannot be compiled with the current GPC version:
Unit Foo;
Interface
Function Bar: integer;
Implementation
Function Bar = result: integer; begin (* Bar *) result:= 2; end (* Bar *);
end.
This results in a 'Header does not match previous definition' for function Bar.
Yours,
Markus