[Issue 12959] nothrow should be required for extern(C) functions

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Nov 27 09:47:51 PST 2014


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

Danny Milosavljevic <danny.milo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danny.milo at gmail.com

--- Comment #1 from Danny Milosavljevic <danny.milo at gmail.com> ---
I agree. C can't throw exceptions so why have extern(C) ever be "not nothrow"?

What about making extern(C) imply nothrow automatically? That would be the
nicest solution, I think (most people know that C can't throw exceptions, so no
confusion there).

--


More information about the Digitalmars-d-bugs mailing list