[fpc-pascal] [libtar.pas]:Error: Illegal type conversion: "ShortString" to "^Char" without compilator options
TOUZEAU DAVID
david.touzeau at fr.kaspersky.com
Fri Oct 6 12:17:20 CEST 2006
Dear
I would like to use some units developped from delphi/klyx with Lazarus
IDE On Linux.
It seems that there is some differences between delphi/freepascal
especially for longstring conversion.
Many times, i received this compilator error :
For example by using the LibTar.pas
(http://www.destructor.de/libtar/index.htm)
libtar.pas(355,8) Error: Illegal type conversion: "ShortString" to "^Char"
i fixed this error with {$H+}{$LongString On} tokens
But is it this good way ??? is there an another solution ??
Best regards.
--
David Touzeau -------------------------- Linux Ubuntu Dapper 6.0.6
FreePascal-Lazarus,perl,delphi,php icq:160018849
More information about the fpc-pascal
mailing list