[Issue 16666] New: core.sys.posix.sys.types uses c_long without importing its definition

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Nov 7 05:47:23 PST 2016


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

          Issue ID: 16666
           Summary: core.sys.posix.sys.types uses c_long without importing
                    its definition
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: trikkuz at gmail.com

--- test.d
void* test (ssize_t );
import core.sys.posix.unistd;
---

dmd test.d

Output:
/usr/include/dmd/druntime/import/core/sys/posix/sys/types.d(100): Error:
undefined identifier 'c_long'

--


More information about the Digitalmars-d-bugs mailing list