[Lazarus] Mac OS X : Error Building lazarus with FPC 2.5.1

Ondrej tondrej at gmail.com
Sat Oct 3 17:44:51 CEST 2009


> I just did an svn update for Lazarus and FPC and I'm getting the following
> error
>
> Compiling lclmemmanager.pas
> lclmemmanager.pas(100,37) Error: Cannot access a private field of an object
> here
> lclmemmanager.pas(100,53) Error: Cannot access a private field of an object
> here

I just had the same error and was able to fix it like this:

  public
    property Capacity; //: Longint read FCapacity write SetCapacity;
  end;

There were a few similar errors in other units, also very easy to fix
in a similar way.

HTH
TOndrej




More information about the Lazarus mailing list