https://issues.dlang.org/show_bug.cgi?id=23812
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #3 from Dlang Bot <[email protected]> --- @tim-dlang created dlang/dmd pull request #16820 "Fix bugzilla 23812 - ImportC: allow adding function attributes to imp…" fixing this issue: - Fix bugzilla 23812 - ImportC: allow adding function attributes to imported C functions This adds a new pragma for ImportC, which allows to set default storage classes. Only `nothrow`, `@nogc` and `pure` are supported for now. They can be disabled later with the same pragma using a minus. Unknown pragmas are ignored. The pragma starts with identifier `D` to avoid conflicts. https://github.com/dlang/dmd/pull/16820 --
