[fpc-devel] Error: Argument can't be assigned to

2007-05-25 Thread Graeme Geldenhuys
Hi, I thought I would try out FPC 2.3.1 (Revision: 7448) and compile fpGUI. Compiling fpGUI with 2.0.5 and 2.1.3 works 100% Compiling it with FPC 2.3.1 (Revision: 7448) using ppc386 -S2cgi -OG1 -gl -vewnhi -l -Fu../ -Fu. -FUlib/i386-linux/ fpgfxpackage.pas ..I get the following errors. Any

Re: [fpc-devel] Error: Argument can't be assigned to

2007-05-25 Thread Jonas Maebe
On 25 mei 2007, at 11:45, Graeme Geldenhuys wrote: Compiling it with FPC 2.3.1 (Revision: 7448) using ppc386 -S2cgi -OG1 -gl -vewnhi -l -Fu../ -Fu. -FUlib/i386-linux/ fpgfxpackage.pas ..I get the following errors. Any ideas why? fpGUI/gfx/x11/gfx_x11.pas(798,8) Error: Argument can't be

Re: [fpc-devel] Error: Argument can't be assigned to

2007-05-25 Thread Micha Nelissen
Graeme Geldenhuys wrote: - code where error occurs --- case Attr.Depth of 1: PixelFormat.FormatType := ftMono;// -- line 798 4: PixelFormat.FormatType := ftPal4; public propertyPixelFormat: TGfxPixelFormat read FPixelFormat; You only allow read access to