www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - UseEventFreeList

reply teqDruid <me teqdruid.com> writes:
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
Sep 10 2004
parent reply Ben Hinkle <bhinkle4 juno.com> writes:
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
Sep 10 2004
parent reply teqDruid <me teqdruid.com> writes:
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
Sep 10 2004
parent reply J C Calvarese <jcc7 cox.net> writes:
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/
Sep 10 2004
parent teqDruid <me teqdruid.com> writes:
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
Sep 10 2004