Source bugs in Lazarus 0.9.10.-10 lazarus / 1-Linux ---------------------------------------------------------------------- jock · 2006-01-20 18:35 Got fpc 2.0.2-0 working using make from tar source, SuSE 10 x86-64bit, did make on Lazarus 0.9.10-0 and hit compiler errors all involving ++ in string concatenation.  Fixed these (see console/code bits below), Lazarus made and runs in /opt/lazarus.  Is this because earlier versions of fpc would ignore ++?  Code: [Select] Compiling finddeclarationtool.pas Compiling definetemplates.pas definetemplates.pas(3398,6) Error: Incompatible types: got "Char" expected "Int64" definetemplates.pas(4325) Fatal: There were 1 errors compiling module, stopping definetemplates.pas(25,50) Fatal: Compilation aborted make[2]: *** [allcodetoolunits.ppu] Error 1 make[2]: Leaving directory `/opt/lazarus/components/codetools' make[1]: *** [codetools_all] Error 2 make[1]: Leaving directory `/opt/lazarus/components' make: *** [components] Error 2 Compiling codetemplatestool.pas Assembling codetemplatestool Assembling methodjumptool codecompletiontool.pas(1310,23) Error: Incompatible types: got "ShortInt" expected "AnsiSt           ring" codecompletiontool.pas(1313,30) Error: Incompatible types: got "ShortInt" expected "AnsiSt           ring" codecompletiontool.pas(2832) Fatal: There were 2 errors compiling module, stopping codecompletiontool.pas(25,50) Fatal: Compilation aborted make[2]: *** [allcodetoolunits.ppu] Error 1 Compiling /opt/lazarus/designer/jitforms.pp jitforms.pp(435,42) Error: Incompatible types: got "ShortInt" expected "AnsiString" jitforms.pp(1409) Fatal: There were 1 errors compiling module, stopping jitforms.pp(59,12) Fatal: Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/opt/lazarus/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `/opt/lazarus/ide' make: *** [ide] Error 2       +' WARNING: TypeData^.ParentInfo<>AClass.ClassParent.ClassInfo(' 434   +DbgS(TypeData^.ParentInfo)+'<>'{was +} 435   +DbgS(AClass.ClassParent.ClassInfo)+'<>'+')'+LineEnding; Assembling pkgoptionsdlg Compiling /opt/lazarus/packager/addtopackagedlg.pas addtopackagedlg.pas(1822,80) Error: Incompatible types: got "ShortInt" expected "AnsiString" addtopackagedlg.pas(2018) Fatal: There were 1 errors compiling module, stopping addtopackagedlg.pas(59,12) Fatal: Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/opt/lazarus/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `/opt/lazarus/ide' make: *** [ide] Error 2 Compiling /opt/lazarus/packager/basepkgmanager.pas Assembling basepkgmanager pkgmanager.pas(3011,29) Error: Incompatible types: got "ShortInt" expected "AnsiString" pkgmanager.pas(3039,24) Error: Incompatible types: got "ShortInt" expected "AnsiString" pkgmanager.pas(4214) Fatal: There were 2 errors compiling module, stopping pkgmanager.pas(59,12) Fatal: Compilation aborted make[2]: *** [lazarus] Error 1 Compiling initialsetupdlgs.pas Assembling initialsetupdlgs Compiling makeresstrdlg.pas makeresstrdlg.pas(723,32) Error: Incompatible types: got "ShortInt" expected "AnsiString" makeresstrdlg.pas(900) Fatal: There were 1 errors compiling module, stopping makeresstrdlg.pas(59,12) Fatal: Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/opt/lazarus/ide' make[1]: *** [ide] Error 2   if ResStrExistsInCurrentSection(Result) then begin     i:=2;     while ResStrExistsInCurrentSection(Result+IntToStr(i)) do inc(i); 723   Result:=Result++IntToStr(i);   end; ---------------------------------------------------------------------- Vincent Snijders · 2006-01-20 19:09 Quote from: "jock"Got fpc 2.0.2-0 working using make from tar source, SuSE 10 x86-64bit, did make on Lazarus 0.9.10-0 and hit compiler errors all involving ++ in string concatenation.  Fixed these (see console/code bits below), Lazarus made and runs in /opt/lazarus.  Is this because earlier versions of fpc would ignore ++? Yes.