Undefined reference error when array size is given

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 20 06:07:42 PST 2015


On Tue, 20 Jan 2015 07:00:31 -0500
Steven Schveighoffer via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:

> 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
oh, i see, i wasn't thought about moduleinfo and other data.

> 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.
sorry, i can't see how this bug is related to non-inclusion. actually,
it's about the exact opposite!

p.s. it it even necessary to generate moduleinfo for modules without
initializers and without complex data structures with references?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150120/5052eb7a/attachment.sig>


More information about the Digitalmars-d-learn mailing list