September 18

https://forum.dlang.org/post/qpmqvhipfyyyehvoeekc@forum.dlang.org

On Monday, 8 January 2024 at 23:00:02 UTC, Dennis wrote:

>

On Monday, 8 January 2024 at 21:56:10 UTC, Renato wrote:

>

but I tried exactly that! Which gives a seg fault.

Looks like there's a bug with the -H switch:
https://issues.dlang.org/show_bug.cgi?id=24326

But that shouldn't be necessary, you should just be able to import the c file.

>

I also tried just importing this little C file, but then no symbols from the h file are found at all. Kind of interesting, as if I just write the code using the library in the C file itself, that works fine.

That's weird, I'll see if I can reproduce this.

Did you manage to reproduce the bug?