[Issue 12389] New: Operating system C functions should be marked as 'nothrow'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 17 03:54:20 PDT 2014
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 at puremagic.com
ReportedBy: bugzilla at digitalmars.com
--- Comment #0 from Walter Bright <bugzilla at 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: -------
More information about the Digitalmars-d-bugs
mailing list