> I'm trying to migrate MW OO code to FPC. I'm in trouble with this piece of
> MW code:
>
> type
> myObjectA = object
> .....
> lObj: myObjectB;
> ...
> end;
>
> type
> myObjectB = object
> ...
> lObj: myObjectA
> ...
> end;
>
> Essentially when the compiler tries to deal with myObjectA, it says that
> 'myObjectB is not defined'.
>
> Am I doing something wrong, or is it something not supported by FPC?

If it works with MW, but fails with FPC it is not supported. Please log it
as a bug with a short example.



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to