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

2016-05-17 Thread Joakim via Digitalmars-d
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

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

2016-05-17 Thread Bottled Genie via Digitalmars-d
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.

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

2016-05-16 Thread Bottled Genie via Digitalmars-d
Hello All I am trying to make use of function signal from module core.stdc.signal. The function needs a function pointer as an argument and since signal has been marked with attributes @nogc and nothrow, the function I pass to it as an argument also has to be nothrow and @nogc. Are these