digitalmars.D.bugs - [Issue 12715] New: _compare_fp_t/qsort/bsearch C functions should be
- via Digitalmars-d-bugs (20/20) May 08 2014 https://issues.dlang.org/show_...
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 puremagic.com Reporter: verylonglogin.reg 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 --
May 08 2014