www.digitalmars.com         C & C++   DMDScript  

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

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



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