false range check warning on large UInt64 constants
Original Reporter info from Mantis: delphi_coder
-
Reporter name: Mohammad
Original Reporter info from Mantis: delphi_coder
- Reporter name: Mohammad
Description:
I was working on a program on Lazarus ide. I noticed the compiler generate warning where the UInt64 constant latest bit is set(Large numbers).
Steps to reproduce:
Try this constant definition
const
nums: array [0..2] of UInt64 = ($8000000000020400, $000000000050800, $000000000050800);
Mantis conversion info:
- Mantis ID: 35176
- Version: 3.0.4