[Lazarus] Delphi converter error

Juha Manninen juha.manninen62 at gmail.com
Sat Jun 16 19:30:18 CEST 2012


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

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120616/6be74848/attachment-0003.html>


More information about the Lazarus mailing list