[Issue 12738] core.sys.posix.signal sigaction_t handler type mismatch

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 12 23:33:59 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12738

--- Comment #6 from Rainer Schuetze <r.sagitario at gmx.de> ---
(In reply to Walter Bright from comment #3)
> (In reply to hsteoh from comment #1)
> > extern(C) functions are nothrow by definition,
> 
> This would be a change to the language. Probably a good change, but a change
> nevertheless, and is likely to break existing code.

I also thought that this might be handy, but we would need a way to mark some
of them "throw" then, especially in cases where extern(C) is not used to
interface with C, but to declare functions without importing the respective
module.

--


More information about the Digitalmars-d-bugs mailing list