Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-12

1.1 doesn't like TPersistent

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Hi all,

Two months ago I reported the bug (#1652) that the 1.1 can't compile simple things like the following program. It turns out, that the 1.1 has a problem in general with TPersistent. Can someone tell me, why 1.1 doesn't like TPersistent and if there is someone working on this problem?

program TestPublishedProp;
{$mode objfpc}{$H+}
uses Classes;
type
  TMyClass = class(TPersistent)
  published
    MyPublishedComponent: TComponent;
  end;
begin
end.

Output:
Target OS: Linux for i386
Compiling testpublishedprop.pp
testpublishedprop.pp(8,14) Fatal: Internal error 1509991

Mattias

Florian Klaempfl
to Mattias Gaertner
you wrote 7 lines
Hi all, Two months ago I reported the bug (#1652) that the 1.1 can't compile simple things like the following program. It turns out, that the 1.1 has a problem in general with TPersistent. Can someone tell me, why 1.1 doesn't like TPersistent and if there is someone working on this problem?

Actually nobody was working on it. But it is fixed now.