Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
October 08, 2004 Calling one_mad_alien... | ||||
---|---|---|---|---|
| ||||
Just FYI.. I was just trying your bitmapview.002.src.zip demo when I struck this error:
main.d(14): module tileedit is in multiple packages tileedit
on main.d(14) I saw "import bitview;", opening bitview.d I saw "module tileedit;"..
changing that to "module bitview;" fixed the compile problem.
I have crossposted this to the bugs group as I think that error message above needs improving.. I have no idea what it's trying to say.
Regan
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
October 08, 2004 Re: Calling one_mad_alien... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Regan Heath | Regan Heath wrote: > Just FYI.. I was just trying your bitmapview.002.src.zip demo when I struck this error: Mike (a/k/a one_mad_alien; a/k/a l8night) probably ought to put a big notice on his website that some of the Core32/L8night stuff exists as dsource projects... L8night: http://www.dsource.org/projects/l8night/ Core32: http://www.dsource.org/projects/core32/ Since you mentioned bitmapview, you might want to read this in particular: http://www.dsource.org/forums/viewtopic.php?p=1836#1836 I think the newest code is in the SVN repository for L8night (the download area for the dsource project might be out-of-date). And since L8night depends on Core32, you'll need that, too. Otherwise, this code might work for you: http://jcc_7.tripod.com/d/l8night.html Let me know if you run into any more problems. Since I haven't worked with any of this stuff for a few months, some of the code may be a little stale. > main.d(14): module tileedit is in multiple packages tileedit I agree it's vague. I've run into this before. I think it means the compiler is finding 2 modules named "tileedit" at the top of the file or something similar. I like to mention the error message in the Subject when that's my main criticism, e.g. "module is in multiple packages". In fact after searching the D archives, I found where I complained about this error message back in January: http://www.digitalmars.com/d/archives/21956.html And in November 2003: http://www.digitalmars.com/d/archives/19168.html > > on main.d(14) I saw "import bitview;", opening bitview.d I saw "module tileedit;".. > changing that to "module bitview;" fixed the compile problem. > > I have crossposted this to the bugs group as I think that error message Come on, pick a newsgroup and go with it. ;) If you think it's a compiler bug, post it on the bug group. If you think you're coding it wrong and you're asking for a tip, post it on dm.D. (Post as if you're confident even if you're not.) > above needs improving.. I have no idea what it's trying to say. > > Regan -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/ |
October 08, 2004 Re: Calling one_mad_alien... | ||||
---|---|---|---|---|
| ||||
Posted in reply to J C Calvarese | On Fri, 08 Oct 2004 18:05:57 -0500, J C Calvarese <jcc7@cox.net> wrote: > Regan Heath wrote: >> Just FYI.. I was just trying your bitmapview.002.src.zip demo when I struck this error: > > Mike (a/k/a one_mad_alien; a/k/a l8night) probably ought to put a big notice on his website that some of the Core32/L8night stuff exists as dsource projects... > > L8night: http://www.dsource.org/projects/l8night/ > Core32: http://www.dsource.org/projects/core32/ Actaually.. I knew that. Never mind. > Since you mentioned bitmapview, you might want to read this in particular: > http://www.dsource.org/forums/viewtopic.php?p=1836#1836 Thanks. > I think the newest code is in the SVN repository for L8night (the download area for the dsource project might be out-of-date). And since L8night depends on Core32, you'll need that, too. > > Otherwise, this code might work for you: > http://jcc_7.tripod.com/d/l8night.html > > Let me know if you run into any more problems. Since I haven't worked with any of this stuff for a few months, some of the code may be a little stale. I got it all working fine, after fixing the error I mentioned. I was simply posting this because the download needs fixing.. if it's been replaced by a dsource project, fine, does it have the same bug, or was it fixed? .. why don't I get it and see :) >> main.d(14): module tileedit is in multiple packages tileedit > > I agree it's vague. I've run into this before. I think it means the compiler is finding 2 modules named "tileedit" at the top of the file or something similar. In this case it was finding "module tileedit;" at the top of a file called "bitview.d". There were no other occurances of the word "tileedit" in any of the source files, and the error only occurs if you compile all the source files at once, compiling them seperately gives no errors. Basically the error message is broken IMO. > I like to mention the error message in the Subject when that's my main criticism, e.g. "module is in multiple packages". Thats a good idea. > In fact after searching the D archives, I found where I complained about this error message back in January: http://www.digitalmars.com/d/archives/21956.html > > And in November 2003: > http://www.digitalmars.com/d/archives/19168.html One of those is identical to this problem. >> on main.d(14) I saw "import bitview;", opening bitview.d I saw "module tileedit;".. >> changing that to "module bitview;" fixed the compile problem. >> >> I have crossposted this to the bugs group as I think that error message > > Come on, pick a newsgroup and go with it. ;) If you think it's a compiler bug, post it on the bug group. If you think you're coding it wrong and you're asking for a tip, post it on dm.D. (Post as if you're confident even if you're not.) I picked both, because 1/2 of it belonged in the main NG (the bit abouut the example being broken, and the other 1/2 belonged in the bugs group (the bit about the vague error message). Perhaps I should split my post into 2 seperate posts next time? I figured I'd be repeating myself if I did that, so why not cross-post? Regan -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ |
October 09, 2004 Re: Calling one_mad_alien... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Regan Heath | Regan Heath wrote: > On Fri, 08 Oct 2004 18:05:57 -0500, J C Calvarese <jcc7@cox.net> wrote: > >> Regan Heath wrote: >> >>> Just FYI.. I was just trying your bitmapview.002.src.zip demo when I struck this error: >> >> >> Mike (a/k/a one_mad_alien; a/k/a l8night) probably ought to put a big notice on his website that some of the Core32/L8night stuff exists as dsource projects... >> >> L8night: http://www.dsource.org/projects/l8night/ >> Core32: http://www.dsource.org/projects/core32/ > > > Actaually.. I knew that. Never mind. Now that I think about it, you have better luck contacting Mike through a Private Message at dsource. I doubt he's been keeping up with this newsgroup. I haven't noticed him posting recently. >>> I have crossposted this to the bugs group as I think that error message >> >> >> Come on, pick a newsgroup and go with it. ;) If you think it's a compiler bug, post it on the bug group. If you think you're coding it wrong and you're asking for a tip, post it on dm.D. (Post as if you're confident even if you're not.) > > > I picked both, because 1/2 of it belonged in the main NG (the bit abouut the example being broken, and the other 1/2 belonged in the bugs group (the bit about the vague error message). > > Perhaps I should split my post into 2 seperate posts next time? I figured I'd be repeating myself if I did that, so why not cross-post? Maybe cross-posting is the better approach. I was just suggesting another way of doing it. I guess I don't like to see cross-posting when a thread is started because I try to read all of the messages in dm.D and dm.D.bugs. I find the deja vu aspect to be a bit of a time-waster. Sorry, I didn't mean to come across as so critical. > > Regan > -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/ |
October 09, 2004 Re: module x is in multiple packages x (was Calling one_mad_alien...) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Regan Heath | Regan Heath wrote: > On Fri, 08 Oct 2004 18:05:57 -0500, J C Calvarese <jcc7@cox.net> wrote: > >> Regan Heath wrote: >> >>> Just FYI.. I was just trying your bitmapview.002.src.zip demo when I struck this error: ... > I got it all working fine, after fixing the error I mentioned. I was simply posting this because the download needs fixing.. if it's been replaced by a dsource project, fine, does it have the same bug, or was it fixed? .. why don't I get it and see :) > >>> main.d(14): module tileedit is in multiple packages tileedit ... > In this case it was finding "module tileedit;" at the top of a file called "bitview.d". There were no other occurances of the word "tileedit" in any of the source files, and the error only occurs if you compile all the source files at once, compiling them seperately gives no errors. > > Basically the error message is broken IMO. I definitely agree. The really weird thing is how whether the error appears depends on how the code is sent to the compiler. That's totally uncool. When I saw the OP I assumed you were complaining about something that I fixed months ago in the dsource version. Of course, I was totally wrong. In fact, you found an error that's been there a long time and was still there, but was hidden by the way I compiled it. Thanks for bearing with my impatience earlier. :) And as I mentioned in dsource forum , I think I fixed the version at dsource now (http://www.dsource.org/forums/viewtopic.php?t=381). -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/ |
October 10, 2004 Re: module x is in multiple packages x (was Calling one_mad_alien...) | ||||
---|---|---|---|---|
| ||||
Posted in reply to J C Calvarese | On Fri, 08 Oct 2004 23:17:08 -0500, J C Calvarese <jcc7@cox.net> wrote: > Regan Heath wrote: >> On Fri, 08 Oct 2004 18:05:57 -0500, J C Calvarese <jcc7@cox.net> wrote: >> >>> Regan Heath wrote: >>> >>>> Just FYI.. I was just trying your bitmapview.002.src.zip demo when I struck this error: > ... > >> I got it all working fine, after fixing the error I mentioned. I was simply posting this because the download needs fixing.. if it's been replaced by a dsource project, fine, does it have the same bug, or was it fixed? .. why don't I get it and see :) >> >>>> main.d(14): module tileedit is in multiple packages tileedit > ... >> In this case it was finding "module tileedit;" at the top of a file called "bitview.d". There were no other occurances of the word "tileedit" in any of the source files, and the error only occurs if you compile all the source files at once, compiling them seperately gives no errors. >> >> Basically the error message is broken IMO. > > I definitely agree. > > The really weird thing is how whether the error appears depends on how the code is sent to the compiler. That's totally uncool. When I saw the OP I assumed you were complaining about something that I fixed months ago in the dsource version. Of course, I was totally wrong. In fact, you found an error that's been there a long time and was still there, but was hidden by the way I compiled it. > > Thanks for bearing with my impatience earlier. :) No problem, I assumed one of us had the wrong end of the stick. I go by the assumption it's the other guy until such time as it is proved otherwise, this time I was right, next time I might be wrong... > And as I mentioned in dsource forum , I think I fixed the version at dsource now (http://www.dsource.org/forums/viewtopic.php?t=381). Thanks. It looks fixed to me. Regan -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ |
Copyright © 1999-2021 by the D Language Foundation