www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12389] New: Operating system C functions should be marked as 'nothrow'


           Summary: Operating system C functions should be marked as
           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:


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