[Lazarus] event code tool compilation error

fluisgirardi at gmail.com fluisgirardi at gmail.com
Sat Jan 15 11:28:37 CET 2011


And the fpcbuild.zip snapshot, it will be updated? I downloaded it
thinking that is the most recently file, but it's outdated. Or maybe
put on the development page the date of the snapshot to alert people
as me :)

Regards,

Fabio

2011/1/14 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> On Sat, 15 Jan 2011 01:01:07 +0300
> Maxim Ganetsky <ganmax at narod.ru> wrote:
>
>> 14.01.2011 20:00, Mattias Gaertner пишет:
>> > On Fri, 14 Jan 2011 16:47:25 +0000
>> > Martin<lazarus at mfriebe.de>  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
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>




More information about the Lazarus mailing list