October 01 [Issue 24787] Error signed integer overflow | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24787 Dennis <dkorpel@live.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkorpel@live.nl Hardware|x86_64 |All OS|Linux |All --- Comment #1 from Dennis <dkorpel@live.nl> --- That expression gets parsed as -(9223372036854775808L), and 9223372036854775808 does not fit in a long, but you require it to be a long with the L suffix. You can remove the L suffix, or replace it with UL, and then the program works. Since this is filed as an enhancement request, what part of this behavior do you want to see changed exactly? -- |
Copyright © 1999-2021 by the D Language Foundation