[fpc-devel] forward ref of typed-alias not solved // bug?

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Dec 15 23:42:43 CET 2010

On 15 Dec 2010, at 20:44, Martin wrote:

> In the below app you get the error
> project1.lpr(4,20) Error: Forward type not resolved "TOtherFoo"
> Is that intended?

We're at least better than Kylix:

$ dcc tt3.pp
Borland Delphi for Linux Version 14.5
Copyright (c) 1983,2002 Borland Software Corporation
Segmentation fault


But I think the error message is correct and the behaviour consistent with how you can use forward-declared classes, yes.


More information about the fpc-devel mailing list