Error when compile with DMD using -m64?

Bastiaan Veelo Bastiaan at Veelo.net
Tue Aug 10 15:55:42 UTC 2021


On Tuesday, 10 August 2021 at 01:29:04 UTC, Marcone wrote:
> Solved converting long and int.

Use `size_t` and `ptrdiff_t` instead to make your program compile 
in both 32 bit and 64 bit modes.

https://dlang.org/spec/type.html#aliased-types

-- Bastiaan.


More information about the Digitalmars-d-learn mailing list