On Saturday, 12 November 2022 at 14:14:06 UTC, Adam D Ruppe wrote:
On Saturday, 12 November 2022 at 13:46:27 UTC, qua wrote:
This is supposed to work, right?

No, it isn't. And it probably never will.

importC looks for a .c file in the current directory. It is that .c file's responsibility to #include whatever .h files you want.

It seems that it will be now :)

https://issues.dlang.org/show_bug.cgi?id=23479
https://github.com/dlang/dmd/pull/14636

I agree it was unexpected that it didn't, at least for newcomers.

Reply via email to