Incrementing pointers
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
With
type PUI32 = ^Longword;
var
P : PUI32;
Count : Longint;
the instruction
Inc(P,Count);
seems to upset the compiler since it generates
the message
"Conversion between ordinals and pointers are
not not portable".
Note that the compiled code itself looks ok.
Additional information:
Reporter: Marcel Martin
EMail: mm10 at ellipsa dot net
Mantis conversion info:
- Mantis ID: 5181
- OS: WIN32
- Version: 1.9.4
- Fixed in version: 1.9.7