Had to revert to FPC v 2.0.0 - works now. What is broken in 2.3.1 SVN 10439? Regards - Chris
Original message: Trying to compile Lazarus using most recent SVN (14407) and recent FPC SVN (10439) Linux (Mepis 7.0 - a debian variant) Tried first using Build from IDE and latest update of SVN Then tried removing local SVN repository and checking out a fresh copy and using IDE Build Then tried (from command line in /lazarus/trunk/ directory): Make clean Make In each case I get the error in gtkwidgetset.inc (see below) Last few lines of compiler messages inserted below (all previous OK) ... Compiling gtkwsgrids.pp Compiling gtkwsmenus.pp Compiling gtkwspairsplitter.pp Compiling gtkwsspin.pp Compiling gtkthemes.pas ****This is the line with the error message*** gtkwidgetset.inc(541,34) Error: Variable identifier expected ************ gtkwidgetset.inc(1473,12) Note: User defined: TODO: Apply alpha based on mask when 32bit mode is added gtkwidgetset.inc(1554,22) Warning: Mixing signed expressions and longwords gives a 64bit result gtkwidgetset.inc(2308,8) Note: User defined: use SetStretchBltMode(dc, mode) here gtkwidgetset.inc(2626,4) Note: User defined: use intersectrect here gtkwidgetset.inc(2730,4) Note: User defined: tode remove, earlier checks require drawable <> nil gtkwidgetset.inc(3877,2) Note: User defined: TODO: move to wsclass gtkwinapi.inc(1311,4) Note: User defined: TODO: add support for mono cursors gtkwinapi.inc(3315,2) Note: User defined: : compare TGtkWidgetSet.EnumFontFamilies with gtkproc.FillScreenFonts gtkwinapi.inc(6538,26) Warning: Mixing signed expressions and longwords gives a 64bit result gtkwinapi.inc(6542,24) Warning: Mixing signed expressions and longwords gives a 64bit result gtkint.pp(430) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[3]: *** [interfaces.ppu] Error 1 make[3]: Leaving directory `/home/kirkpatc/FreePascal/lazarus/trunk/lcl/interfaces/gtk' make[2]: *** [gtk_all] Error 2 make[2]: Leaving directory `/home/kirkpatc/FreePascal/lazarus/trunk/lcl/interfaces' make[1]: *** [interfaces] Error 2 make[1]: Leaving directory `/home/kirkpatc/FreePascal/lazarus/trunk/lcl' make: *** [lcl] Error 2 The source line in question is: procedure TGtkWidgetSet.PrepareSynchronize(AObject: TObject); begin // wake up GUI thread by sending a byte through the threadsync pipe fpwrite(threadsync_pipeout, ' ', 1); end; Any suggestions? Regards - Chris _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
