Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
September 10, 2004 UseEventFreeList | ||||
---|---|---|---|---|
| ||||
What means this: "kind UseEventFreeList declaration must be at module level" from DMD? Seems to have been introduced since 0.98- I just upgraded from that. TIA John |
September 11, 2004 Re: UseEventFreeList | ||||
---|---|---|---|---|
| ||||
Posted in reply to teqDruid | A recent compiler change forces all "version" statements to be at the
top level of a module (as the error states). The word "kind" in the
error is a bit confusing but the general thrust of the error is
understandable. My guess is the code you're compiling has
version = UseEventFreeList
in it somewhere that isn't on the top level.
On Fri, 10 Sep 2004 18:04:40 -0400, teqDruid <me@teqdruid.com> wrote:
>What means this:
>"kind UseEventFreeList declaration must be at module level"
>
>from DMD?
>
>Seems to have been introduced since 0.98- I just upgraded from that.
>
>TIA
>John
|
September 11, 2004 Re: UseEventFreeList | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | Actually, I'm not using versioning at all, so that's not it.
John
On Fri, 10 Sep 2004 23:30:58 -0400, Ben Hinkle wrote:
> A recent compiler change forces all "version" statements to be at the
> top level of a module (as the error states). The word "kind" in the
> error is a bit confusing but the general thrust of the error is
> understandable. My guess is the code you're compiling has
> version = UseEventFreeList
> in it somewhere that isn't on the top level.
>
> On Fri, 10 Sep 2004 18:04:40 -0400, teqDruid <me@teqdruid.com> wrote:
>
>>What means this:
>>"kind UseEventFreeList declaration must be at module level"
>>
>>from DMD?
>>
>>Seems to have been introduced since 0.98- I just upgraded from that.
>>
>>TIA
>>John
|
September 11, 2004 Re: UseEventFreeList | ||||
---|---|---|---|---|
| ||||
Posted in reply to teqDruid | teqDruid wrote: > Actually, I'm not using versioning at all, so that's not it. That's weird. I just did a search in the \dmd\src\dmd directory for the phrase "module level" and it only seems to show up in "version.c". I can't find a mention of "UseEventFreeList" anywhere in \dmd\src. Could you be using debug? Or maybe it indicates a problem with a version declaration in Phobos. > John > > On Fri, 10 Sep 2004 23:30:58 -0400, Ben Hinkle wrote: > > >>A recent compiler change forces all "version" statements to be at the >>top level of a module (as the error states). The word "kind" in the >>error is a bit confusing but the general thrust of the error is >>understandable. My guess is the code you're compiling has >> version = UseEventFreeList >>in it somewhere that isn't on the top level. >> >>On Fri, 10 Sep 2004 18:04:40 -0400, teqDruid <me@teqdruid.com> wrote: >> >> >>>What means this: >>>"kind UseEventFreeList declaration must be at module level" >>> >> >>>from DMD? >> >>>Seems to have been introduced since 0.98- I just upgraded from that. >>> >>>TIA >>>John -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/ |
September 11, 2004 Re: UseEventFreeList | ||||
---|---|---|---|---|
| ||||
Posted in reply to J C Calvarese | Found the offender... it was in an old copy of Mango that was for some odd reason in my source path.
Thanks guys
John
On Fri, 10 Sep 2004 23:46:15 -0500, J C Calvarese wrote:
> teqDruid wrote:
>> Actually, I'm not using versioning at all, so that's not it.
>
> That's weird.
>
> I just did a search in the \dmd\src\dmd directory for the phrase "module level" and it only seems to show up in "version.c".
>
> I can't find a mention of "UseEventFreeList" anywhere in \dmd\src.
>
> Could you be using debug? Or maybe it indicates a problem with a version declaration in Phobos.
>
>> John
>>
>> On Fri, 10 Sep 2004 23:30:58 -0400, Ben Hinkle wrote:
>>
>>
>>>A recent compiler change forces all "version" statements to be at the top level of a module (as the error states). The word "kind" in the error is a bit confusing but the general thrust of the error is understandable. My guess is the code you're compiling has
>>> version = UseEventFreeList
>>>in it somewhere that isn't on the top level.
>>>
>>>On Fri, 10 Sep 2004 18:04:40 -0400, teqDruid <me@teqdruid.com> wrote:
>>>
>>>
>>>>What means this:
>>>>"kind UseEventFreeList declaration must be at module level"
>>>>
>>>
>>>>from DMD?
>>>
>>>>Seems to have been introduced since 0.98- I just upgraded from that.
>>>>
>>>>TIA
>>>>John
|
Copyright © 1999-2021 by the D Language Foundation