November 27, 2014 [Issue 12959] nothrow should be required for extern(C) functions | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12959 Danny Milosavljevic <danny.milo@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danny.milo@gmail.com --- Comment #1 from Danny Milosavljevic <danny.milo@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). -- |
October 26, 2017 [Issue 12959] nothrow should be required for extern(C) functions | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12959 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution|--- |WONTFIX --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> --- A D function that calls a C function that calls a D function that throws should work, even if the current implementation doesn't. So, I don't think it should be a requirement for extern(C) functions to be nothrow. -- |
Copyright © 1999-2021 by the D Language Foundation