D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 11002 - Compiler doesn't see std.sys.linux.epoll.
Summary: Compiler doesn't see std.sys.linux.epoll.
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All Linux
: P2 major
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-09 18:51 UTC by Mike Parker
Modified: 2013-09-10 10:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Mike Parker 2013-09-09 18:51:48 UTC
#######
import core.sys.linux.epoll;

void main() {
    epoll_event ev;
}
#######

Error: undefined identifier epoll_event

#######
import core.sys.linux.epoll : epoll_event;

void main() {
    epoll_event ev;
}
#######

Error: module core.sys.linux.epoll import 'epoll_event' not found

This holds true for everything declared in the module. Other modules in core.sys.linux are fine. Verified on 2.063 and 2.063.2.
Comment 1 Martin Nowak 2013-09-10 10:42:52 UTC
This is alread fixed in master by https://github.com/D-Programming-Language/druntime/pull/489.