[Issue 12715] _compare_fp_t/qsort/bsearch C functions should be nothrow

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri May 9 06:27:58 PDT 2014


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |code at dawg.eu
           Severity|normal                      |regression

--- Comment #3 from Martin Nowak <code at dawg.eu> ---
(In reply to Walter Bright from comment #1)
> This is deliberate. The reason is to not break existing code. People
> shouldn't have to go back and annotate code with 'nothrow' that was already
> working.

Those callbacks were annotated nothrow 4 years ago so the code breaking
argument doesn't make sense.
https://github.com/WalterBright/druntime/commit/370ffd8d6da3978f742fd17572b418aaf85db355

Pull:
https://github.com/D-Programming-Language/druntime/pull/787

--


More information about the Digitalmars-d-bugs mailing list