Undefined reference error when array size is given

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 20 04:00:31 PST 2015


On 1/19/15 4:49 PM, Steven Schveighoffer wrote:

> I figured it out, poll.d is missing from here:
>
> https://github.com/D-Programming-Language/druntime/blob/master/mak/SRCS
>
> So it's for some reason not purposely included.
>
> I think there's an expectation (I'm probably guilty of this too) that if
> you include a file somewhere in druntime's core subdirectory, it gets
> compiled in.
>
> There are actually quite a few files not included... not sure why.

And the answer:
http://forum.dlang.org/thread/1FE961B1-8454-4298-AD8F-16069971EFA1@yahoo.com#post-54BE1AF6.7040805:40dawg.eu

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

So it looks like it's a DMD bug and we should not include that module.

-Steve


More information about the Digitalmars-d-learn mailing list