[Issue 18017] [External] [DMC] File.size() uses a 32-bit signed integer for size internally (gives wrong results for files over ≈2.1 GB)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 28 21:50:34 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=18017

--- Comment #7 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to kinke from comment #6)
> Then `-m32mscoff` is another option for Win32.

Yeah, if that defines CRuntime_Microsoft, then it should work. I admit I'm not
too familiar with Windows dmd development, and haven't really tried all of
these options.

Appropriate version switch is here:
https://github.com/dlang/phobos/blob/master/std/stdio.d#L1142

--


More information about the Digitalmars-d-bugs mailing list