wiki: D on AVR

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Thu Nov 28 21:48:52 UTC 2019


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?




More information about the Digitalmars-d-announce mailing list