wiki: D on AVR
erny.castell at gmail.com
Fri Nov 29 06:15:13 UTC 2019
On Thursday, 28 November 2019 at 21:48:52 UTC, Ola Fosheim
> On Thursday, 28 November 2019 at 18:40:17 UTC, Ernesto
> Castellotti wrote:
>> Yes LDC sets size_t for the platform, not violating the spec.
>> int in D is 32-bit as you said, that if you compare it with
>> the size of the types of AVR-GCC it would be long,
>> This is not a problem, just use the type aliases like those in
>> core.stdc.stdint to work around
> Doesn't D promote all arithmetic operations to 32bit even if
> the operands are 16 bit?
yes, but it's not a big problem, it's enough to cast
More information about the Digitalmars-d-announce