Is importC ready?

bachmeier no at spam.net
Wed Nov 10 16:46:28 UTC 2021


On Wednesday, 10 November 2021 at 15:42:52 UTC, WebFreak001 wrote:

> https://dlang.org/spec/importc.html#restrict
>
>> The restrict type-qualifier (C11 6.7.3) is ignored

And it should be added to that page that you'll get strange error 
messages like `Error: illegal combination of type specifiers` 
when you try to compile C code with `*__restrict` buried in line 
874. Wouldn't be difficult to print a warning saying `restrict` 
was ignored and which line.


More information about the Digitalmars-d mailing list