https://issues.dlang.org/show_bug.cgi?id=14918
Issue ID: 14918 Summary: Undefined reference when using a static array of pollfd's Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: initrd...@gmail.com This code: import core.sys.posix.poll; void main() { pollfd[5] entry; } Produces the following error when compiling: > rdmd ~/test.d /tmp/.rdmd-1000/rdmd-test.d-F32582916A80A29195884B844D6EB219/objs/test.o: In function `_Dmain': /home/col/test.d:(.text._Dmain+0x10): undefined reference to `_D4core3sys5posix4poll6pollfd6__initZ' collect2: error: ld returned 1 exit status --- errorlevel 1 --