ImportC std support

Dave P. dave287091 at gmail.com
Sun Dec 12 08:25:09 UTC 2021


On Sunday, 12 December 2021 at 07:40:10 UTC, ManKey wrote:
> On Saturday, 11 December 2021 at 22:28:16 UTC, forkit wrote:
>> On Saturday, 11 December 2021 at 21:42:49 UTC, ManKey wrote:
>> umm... the site has search function you know ;-)
>
> Dude, you see, it doesn't say anything about it. It says a 
> little about the extension, but there is no direct answer.
> This is important because C Std is very dependent on the 
> compiler and its extensions, for example msvc std c does not 
> work with importC. So my question is, are there any 
> implementations of the standard C library that importC supports?

ImportC is not ready for general use yet. I’ve been reporting 
bugs that crop up when trying to use standard c headers, but I 
mostly use Linux and Macs so I haven’t reported any constructs it 
doesn’t understand on Windows. It’s supposed to be able to 
compile standard C11 code.

If you run into one, report it at https://issues.dlang.org and 
use the ImportC keyword!


More information about the Digitalmars-d-learn mailing list