Incompatible with Delphi a declaration of types NativeInt/UInt
Original Reporter info from Mantis: kazalex
-
Reporter name: Kazantsev Alexey
Original Reporter info from Mantis: kazalex
- Reporter name: Kazantsev Alexey
Description:
Code:
proc(a: Integer); overload;
proc(a : NativeInt); overload;
Allowed in Dephi, but not in FPC. Because NativeInt/UInt is distinct types (NativeInt = Type Integer;) in Delphi, while FPC they is aliases (NativeInt = Integer;).
Mantis conversion info:
- Mantis ID: 29444
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 33234 (#bb1f2b80)
- Monitored by: » Vincent (Vincent Snijders)