[Lazarus] Delphi converter error

Reinier Olislagers reinierolislagers at gmail.com
Sat Jun 16 20:33:37 CEST 2012


On 16-6-2012 19:30, Juha Manninen wrote:
> On Tue, Jun 5, 2012 at 8:10 AM, Reinier Olislagers
> <reinierolislagers at gmail.com <mailto:reinierolislagers at gmail.com>> wrote:
> 
>     Just ran the Delphi converter for fun on some Inno setup sources
>     http://www.jrsoftware.org/isdl.php (issrc-5.5.0.zip)
>     (multiplatform option disabled) and got some errors.
>     Lazarus svn r37522
> 
>     The convertor stopped with an error message
>     operator missing; press ok to ignore... etc
> 
>     Is this easy to fix?
> 
> 
> Yes, The InnoSetup source dir has a file "Version.inc" and there at line
> 50 is:
>   {$IF Trunc(RTLVersion) = 15}
> Remove it and the block following it.
> 
> The real problem is how to make the converter handle such errors better
> with accurate error messages. Codetools parser also need changes.
> 
Thanks, Juha. Was also more interested in getting the converter improved
than the Inno Setup code ;)




More information about the Lazarus mailing list