I can't even compile it with FPC 2.0.4 (the oldest FPC version I have
lying around, and which was released in August 2006). What was the
previous FPC version that you used and which could compile the above?
(And if there is a good reason, could the error message be more
descriptive?)
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
Sorry, I was confused. It must have been something I tried some months
ago and abandoned. The source file is more recent than the compiled
executable.
I do hope someday soon it will be possible with FPC to
TMyRecord = record
Id: Integer;
Name: String;
ChildRecords: array of TMyRecord;
end;
:-)
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel