ImportC and nothrow/@nogc?

Manu turkeyman at gmail.com
Sun Aug 18 04:43:34 UTC 2024


I just tried using ImportC for the first time ever, but I was surprised
when I immediately received a sea of errors calling the C symbols from
`nothrow @nogc` functions.
My entire program is `nothrow @nogc`... I assumed ImportC would be
supremely suitable in this context, but apparently not...

Is there something I've missed? Is there a plan for this?
I found just one single very short forum thread...

This is classic D experience; so much work has been done on this, and then
the moment I try and use something I encounter a showstopping oversight >_<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20240818/03913dee/attachment-0001.htm>


More information about the Digitalmars-d mailing list