D int and C/C++ int etc not really compatible when interfacing to C/C++
    via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Sun Nov  2 05:17:37 PST 2014
    
    
  
On Sunday, 2 November 2014 at 12:37:13 UTC, Mike Parker wrote:
> 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.
Ah, I see. But DMD now has support for mangling these types 
correctly, in commit c4e0de64.
    
    
More information about the Digitalmars-d-learn
mailing list