Error when compile with DMD using -m64?

Bastiaan Veelo Bastiaan at Veelo.net
Tue Aug 10 17:46:24 UTC 2021


On Tuesday, 10 August 2021 at 17:13:31 UTC, Marcone wrote:
> On Tuesday, 10 August 2021 at 15:55:42 UTC, Bastiaan Veelo 
> wrote:
>> 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.
>
> Thank you very much! Your information was very precious! It 
> worked very well! Now I can create x32 or x64 compatible 
> programs without creating two codes.

You’re welcome :-)

— Bastiaan.


More information about the Digitalmars-d-learn mailing list