On 09 Dec 2009, at 15:28, dmitry boyarintsev wrote:

On Wed, Dec 9, 2009 at 5:22 PM, Jonas Maebe <[email protected]> wrote:
I guess it should be possible to give an error similar to what Kylix does:
 tt.pp(9) Error: Type 'TMyRecord' is not yet completely defined

if dynamic arrays are actually pointers, why the record should not be
completely defined?

I don't know why Kylix refuses it. It's true that in theory it could be compilable (and apparently some very old FPC version did and very new Delphi version does compile it).


Jonas
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to