Add ImportC compiler to dmd

Walter Bright newshound2 at digitalmars.com
Thu May 13 00:23:25 UTC 2021


On 5/12/2021 7:00 AM, IGotD- wrote:
> On Wednesday, 12 May 2021 at 11:39:33 UTC, Igor Shirkalin wrote:
>>
>> years ago. I'd not stop on the latest C ISO, I'd add more featurs from C++.
>>
> 
> I'm thinking in the same lines. It would be nice if importC would be able to 
> detect abstract C++ classes and convert them to extern(C++) interfaces. Then we 
> have inheritance support to think of as well.
> 
> This proposal has a tendency to grow. It might be a useful tool and people will 
> demand more of it all the time if it becomes popular. Implementing importC will 
> open that can of worms.

Just think - if it was so successful people want more out of it, that is a good 
thing!


More information about the Digitalmars-d mailing list