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

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Oct 3 18:22:13 CEST 2009


On Sat, 3 Oct 2009 17:44:51 +0200
Ondrej <tondrej at gmail.com> wrote:

> > 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.

Fixed.

Mattias




More information about the Lazarus mailing list