www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12715] New: _compare_fp_t/qsort/bsearch C functions should be


          Issue ID: 12715
           Summary: _compare_fp_t/qsort/bsearch C functions should be
           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:

May 08 2014