On Tue, Jun 5, 2012 at 8:10 AM, Reinier Olislagers <
reinierolislag...@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.

Juha
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to