Ok, thanks! I'll patch the files on my PC, but maintainers of the components "Plot Panel" and "CmdLine" should be alerted on this.
Roberto 2010/2/5 Flávio Etrusco <[email protected]>: > That's it. > That code used to compile with FPC 2.2, but doesn't with 2.4. See: > http://wiki.freepascal.org/User_Changes_2.4.0#Treating_direct-mapped_properties_as_regular_fields > In this case, simply change the code to "Inc(FInputPos, UTF8Length(s));". > > Best regards, > Flávio > > On Fri, Feb 5, 2010 at 12:07 PM, Roberto Padovani <[email protected]> > wrote: >> 2010/2/5 Flávio Etrusco <[email protected]>: >>> Err, it would useful for you to post the source code in question. I >>> guess these are errors are caused by object properties?... >>> >> >> I did not post them because the files are available on the Lazarus CCR. >> However here is the error in the package "cmdline": >> >> Offending instruction: Inc(InputPos, UTF8Length(s)); >> >> where the parameters are defined as: >> s: WideString; // a local variable in the method >> property InputPos: integer Read FInputPos; // a class >> property with the correspondig private FInputPos: integer; >> >> Roberto >> >> -- >> _______________________________________________ >> Lazarus mailing list >> [email protected] >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
