digitalmars.D - UseEventFreeList
- teqDruid (6/6) Sep 10 2004 What means this:
- Ben Hinkle (7/13) Sep 10 2004 A recent compiler change forces all "version" statements to be at the
- teqDruid (3/21) Sep 10 2004 Actually, I'm not using versioning at all, so that's not it.
- J C Calvarese (10/36) Sep 10 2004 That's weird.
- teqDruid (5/43) Sep 10 2004 Found the offender... it was in an old copy of Mango that was for some o...
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
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
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
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:-- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/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
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