If I type Cast TmpBugStr as PChar, then the error gets weird: Error: Incompatible types: got "SYSTEM.PChar" expected "SYSTEM.PChar"
On Mon, Oct 1, 2018 at 8:20 AM Ozz Nixon <[email protected]> wrote: > See Below - pressed enter too fast: > > > On Mon, Oct 1, 2018 at 8:18 AM Ozz Nixon <[email protected]> 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 >
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
