January 20, 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
January 20, 2015
On Tue, 20 Jan 2015 07:00:31 -0500
Steven Schveighoffer via Digitalmars-d-learn
<digitalmars-d-learn@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?


January 20, 2015
On 1/20/15 9:07 AM, ketmar via Digitalmars-d-learn wrote:
> On Tue, 20 Jan 2015 07:00:31 -0500
> Steven Schveighoffer via Digitalmars-d-learn
> <digitalmars-d-learn@puremagic.com> wrote:

>> 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!

The point is, it generates moduleinfo needlessly.

> p.s. it it even necessary to generate moduleinfo for modules without
> initializers and without complex data structures with references?

A good point. It certainly would make this less of an issue.

-Steve

1 2
Next ›   Last »