Delphi 10.3.3 compiler error. Incompatible types #4
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BeRo1985/pashtmldown#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello Benjamin,
try compile Delphi 10.3.3 compiler give an error. Incompatible types: 'AnsiChar' and 'Char'
If cast chr function to AnsiChar compile successfully completed
like this
result[l]:=AnsiChar(chr((c shr 16) and $ff));
in higher version pascal,
Charhas different meaning fromAnsiChar.you may try
result[l]:=AnsiChar((c shr 16) and $ff));