On 31.10.2014 15:31, Sven Barth wrote:
Am 30.10.2014 11:34 schrieb "[email protected]
<mailto:[email protected]>" <[email protected]
<mailto:[email protected]>>:
>
> okay sorry for spamming the mailing list
>
> So basically the other problem I reported before (generic +
refcounted does not work) turns out to be something different:
> Declaring variable of refcounted type in a different unit makes the
compiler stop with error 2014092205
>
> Assume in unit Aunit I have
> type TSomething = class refcounted end;
>
> Then I declare a procedure:
>
> procedure Run;
> var
> server: TServer;
> begin
> server := TServer.Create;
> end;
>
> When procedure Run is declared in Aunit, it compiles. However, if I
declare procedure Run in some other unit, say Bunit, then the compiler
stops on line with assignment :=
That simplifies things. Thanks for the update :)
I have now fixed the problem, so you can retest, if you want. :)
Regards,
Sven
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel