[Lazarus] Delphi converter error

Reinier Olislagers reinierolislagers at gmail.com
Tue Jun 5 07:10:13 CEST 2012


Hi,

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?

Thanks,
Reinier

Messages below:
* Converting file D:\Cop\t\inno\Projects\Compil32.dpr *
*** Find all unit files ... ***
Added Package LCL as a requirement.
Replaced call SetCurrentDir(GetSystemDir);
                  with SetCurrentDirUTF8(GetSystemDir); { *Converted
from SetCurrentDir*  }
Added unit FileUtil to uses section
Replaced call SetCurrentDir(PathExtractDir(NewParamStr(0)))
                  with SetCurrentDirUTF8(PathExtractDir(NewParamStr(0)))
{ *Converted from SetCurrentDir*  }
---------------------------------------------
EDelphiConverterError: Converter: ")" is missing from replacement function.
* Fixing used units for file D:\Cop\t\inno\Projects\Compil32.dpr *
*** Converting unit files ... ***
* Converting file D:\Cop\t\inno\Projects\SafeDLLPath.pas *
* Converting file D:\Cop\t\inno\Projects\CompForm.pas *




More information about the Lazarus mailing list