[Issue 14215] New: invalid import in core.sys.linux.stdio
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Feb 22 23:42:38 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14215
Issue ID: 14215
Summary: invalid import in core.sys.linux.stdio
Product: D
Version: D2
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: ketmar at ketmar.no-ip.org
core.sys.linux.stdio imports `size_t` from `core.stdc.stddef`, but there is no
`size_t` in that module.
fix:
diff --git a/src/core/sys/linux/stdio.d b/src/core/sys/linux/stdio.d
index 13096f8..f598ace 100644
--- a/src/core/sys/linux/stdio.d
+++ b/src/core/sys/linux/stdio.d
@@ -11,7 +11,7 @@ public import core.sys.posix.stdio;
import core.sys.posix.sys.types : ssize_t, off64_t = off_t;
import core.sys.linux.config : __USE_FILE_OFFSET64;
import core.stdc.stdio : FILE;
-import core.stdc.stddef : wchar_t, size_t;
+import core.stdc.stddef : wchar_t;
extern(C) nothrow
{
--
More information about the Digitalmars-d-bugs
mailing list