[fpc-devel] Porting from Delphi to FPC - challenge #2.

Ozz Nixon ozznixon at gmail.com
Mon Oct 1 14:20:15 CEST 2018


See Below - pressed enter too fast:


On Mon, Oct 1, 2018 at 8:18 AM Ozz Nixon <ozznixon at gmail.com> wrote:

> Type
>    Line:Array[0..127] of Char;
>
> Var
>    TmpBugStr:Line;
>
> {later in the code}
> Const
>    TempString : PChar = TmpBugStr;
>
>
Error: Incompatible types: got "Line" expected "PChar

Pointing to the last line. It happens through out the project, I am
compiling -Mdelphi

Ozz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20181001/b3651487/attachment.html>


More information about the fpc-devel mailing list