Should core.stdc.signal.signal be nothrow @nogc??

Joakim via Digitalmars-d digitalmars-d at puremagic.com
Tue May 17 02:51:30 PDT 2016


On Tuesday, 17 May 2016 at 09:24:50 UTC, Bottled Genie wrote:
> Can someone help me?
>
> How can I call core.sys.linux.execinfo:backtrace from a 
> core.stdc.signal: signal handler? The problem is that signal 
> has been declared with @nogc in druntime and backtrace does not 
> have that attribute.

There is a problem in druntime with @nogc and nothrow not 
covering all the C declarations they should.  If you're 
comfortable with writing up a PR to fix this issue, it'll most 
likely be merged:

http://wiki.dlang.org/Starting_as_a_Contributor


More information about the Digitalmars-d mailing list