[Issue 23812] ImportC: allow adding function attributes to imported C functions
https://issues.dlang.org/show_bug.cgi?id=23812 ponce changed: What|Removed |Added CC||alil...@gmail.com --- Comment #2 from ponce --- I've translated a fair share of C and AFAIK they all could be `nothrow @nogc`. --
[Issue 23812] ImportC: allow adding function attributes to imported C functions
https://issues.dlang.org/show_bug.cgi?id=23812 johanenge...@weka.io changed: What|Removed |Added Keywords||industry CC||johanenge...@weka.io --
[Issue 23812] ImportC: allow adding function attributes to imported C functions
https://issues.dlang.org/show_bug.cgi?id=23812 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@gmail.com --- Comment #1 from Steven Schveighoffer --- Yes, I had to remove the nogc and nothrow attributes from my project to get it compiling with importc usage. I think the defaults have to be as is since we don’t have negation of pure nogc nothrow. But I agree that a pragma would suffice. --