Using C header libs with importC

Renato renato at athaydes.com
Tue Jan 9 17:44:14 UTC 2024


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
>

That's the bug that is affecting me almost certainly because the 
library I'm using does have an anonymous enum in it, which causes 
that bug when parsing h files.

What I don't understand, though, is that the bug was fixed more 
than one year ago, there was some regression found that forced 
the bug fix to be reverted, but then it just... stayed that way??


More information about the Digitalmars-d-learn mailing list