[fpc-devel] Record with dynamic array of same type
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Dec 9 15:48:56 CET 2009
On 09 Dec 2009, at 15:28, dmitry boyarintsev wrote:
> On Wed, Dec 9, 2009 at 5:22 PM, Jonas Maebe
> <jonas.maebe at elis.ugent.be> 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
More information about the fpc-devel
mailing list