digitalmars.D.bugs - [Issue 12389] New: Operating system C functions should be marked as 'nothrow'
- d-bugmail puremagic.com (24/24) Mar 17 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12389
https://d.puremagic.com/issues/show_bug.cgi?id=12389 Summary: Operating system C functions should be marked as 'nothrow' Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: preapproved Severity: normal Priority: P2 Component: druntime AssignedTo: nobody puremagic.com ReportedBy: bugzilla digitalmars.com --- Comment #0 from Walter Bright <bugzilla digitalmars.com> 2014-03-17 03:54:19 PDT --- Very few C function declarations in druntime are marked as nothrow, even though all the OS ones are. Marking them as nothrow enables important optimizations. I've marked one file here as an example: https://github.com/D-Programming-Language/druntime/pull/742 The rest of the imports need to be gone through and fixed as well. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 17 2014