D int and C/C++ int etc not really compatible when interfacing to C/C++

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Nov 2 04:37:17 PST 2014


On 11/2/2014 8:59 PM, "Marc Schütz" <schuetzm at gmx.net>" wrote:
> On Saturday, 1 November 2014 at 21:00:54 UTC, Kagamin wrote:
>> D claims compatibility with system C compiler, which usually have
>> 32-bit int.
>
> ... and for C/C++ long which can be 32 or 64 bit, DMD recently
> introduced the types c_long and c_ulong. (Not released yet.)

Those aren't new. They have been in core.stdc.config for quite some time.


More information about the Digitalmars-d-learn mailing list