[Issue 12715] New: _compare_fp_t/qsort/bsearch C functions should be nothrow
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu May 8 01:48:43 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12715
Issue ID: 12715
Summary: _compare_fp_t/qsort/bsearch C functions should be
nothrow
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: verylonglogin.reg at gmail.com
It's a bad idea to throw exceptions across language boundaries as there is no
guarantee a C standard library doesn't use its own exception handler for some
reason. So `_compare_fp_t` should be `nothrow`.
Causing pull:
https://github.com/D-Programming-Language/druntime/pull/779
--
More information about the Digitalmars-d-bugs
mailing list