Undefined reference error when array size is given

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 19 13:54:56 PST 2015


On Mon, 19 Jan 2015 16:49:34 -0500
Steven Schveighoffer via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> 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.
i believe that they are just accidentally left out. besides, if some
file defines only extern functions and constants, it can be safely
ommited. yet including it will not hurt too (and will add some sanity
checks on build time -- like ensuring that it is syntactically correct).

so i believe that this is an accidental omission that worth a PR.
-------------- 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/20150119/c1da45b5/attachment.sig>


More information about the Digitalmars-d-learn mailing list