On Sat, 15 Jan 2011 01:01:07 +0300 Maxim Ganetsky <[email protected]> wrote:
> 14.01.2011 20:00, Mattias Gaertner пишет: > > On Fri, 14 Jan 2011 16:47:25 +0000 > > Martin<[email protected]> wrote: > > > >> On 14/01/2011 16:24, Mattias Gaertner wrote: > >>> const > >>>> MethodKindAsString: array[TMethodKind] of shortstring = ( > >>>> 'procedure', 'function', 'constructor', 'destructor', > >>>> 'class procedure', 'class function' > >>>> {$IFNDEF VER2_4} > >>>> ,'class constructor', 'class destructor' > >>>> {$ENDIF} > >>>> {$IFDEF VER2_5} > >>>> ,'operator overload' > >>>> {$ENDIF} > >>>> ); > >>>> > >>>> but I can't see anything wrong... > >>>> > >>>> I searched the wiki and the bugtracker, but I found anything. On > >>>> google, on some pages is wrote that to solve this, I have to update my > >>>> FPC (my previous version of FPC is 2.5.1 of november of 2010). I > >>>> updated it but the error persists. > >>>> > >>>> Some Idea? > >>> You need a recent 2.5.1 or a released 2.4.2 or a recent 2.4.3. > >>> > >>> The 'operator overload' came some weeks ago to 2.5.1. > >> Maybe those IFDEF can be made smarter? > >> > >> {$IF high(TMethodKind)<> mkClassFunction} > >> ,'class constructor', 'class destructor' > >> {$IF high(TMethodKind)<> mkClassDestructor} > >> ,'operator overload' > >> {$ENDIF} > >> {$ENDIF} > > > > Applied. > > But that does not mean we support older 2.5.1 - we do not. > > I reverted this change in r29013, because it broke building Lazarus with > FPC 2.4.3 (tested with latest 2.4.3 revision to date). I applied it wrong. Sorry. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
