www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17829] New: core.stdc.errno does not work with -betterC

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

          Issue ID: 17829
           Summary: core.stdc.errno does not work with -betterC
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

https://github.com/dlang/druntime/blob/master/src/core/stdc/errno.d#L31

It references functions getErrno() and setErrno() which are in the druntime
library. -betterC does not link in druntime.

--
Sep 15 2017