May 05, 2004 Re: Please Help! Linker problem (me!) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Scott Egan | Scott Egan wrote: > Thanks, > > after looking at Phills source, I noticed that the importeded module had a > specific module statement, so I included on in mine. That fixed the > problem. > > All files were compiling and the only thing I can thing of is that I named > the file in uppercase. I'm glad to hear that. -- Justin http://jcc_7.tripod.com/d/ |
May 08, 2004 Re: Please Help! Linker problem (me!) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Phill | "Phill" <phill@pacific.net.au> wrote in message news:c75bcl$1r05$1@digitaldaemon.com... > > "Scott Egan" <scotte@tpg.com.aux> wrote in message news:c75aun$1qhc$1@digitaldaemon.com... > > Thanks Phill. > > > > I got yours working even after I moved the 'globals g' definition to the glbl.d file. > > > > The only diference I noted was that you used the module statement at the > top > > of the glbl.d file. > > > > So I included it at the top of my file and the problem went away. > > > > Now....why?!!! The reat of my files are imported OK without module statements. > > > > I thought modulename = filename (less .d) if not specified. Any thoughts? > > > I dont know, I only put that there to look fancy lol > it works either way with mine. > I am not familiar with the way that the 'module' > thing works, or whether you have to compile it > in a similar way to Java's packages. > > Im waiting for Mathew's book. :o)) What book? What're you talking about. ;) (As soon as I can get DTL done and out of the way, then maybe I can pay attention to some other, more potentially lucrative matters ... <G>) > Or a tutorial to be written. > > I also use DIDE. > See my other post, maybe it can help. |
May 08, 2004 Re: Please Help! Linker problem (me!) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | "Matthew" <matthew.hat@stlsoft.dot.org> wrote in message news:c7hdi7$29ok$1@digitaldaemon.com... > > "Phill" <phill@pacific.net.au> wrote in message news:c75bcl$1r05$1@digitaldaemon.com... > > > > "Scott Egan" <scotte@tpg.com.aux> wrote in message news:c75aun$1qhc$1@digitaldaemon.com... > > > Thanks Phill. > > > > > > I got yours working even after I moved the 'globals g' definition to the > > > glbl.d file. > > > > > > The only diference I noted was that you used the module statement at the > > top > > > of the glbl.d file. > > > > > > So I included it at the top of my file and the problem went away. > > > > > > Now....why?!!! The reat of my files are imported OK without module statements. > > > > > > I thought modulename = filename (less .d) if not specified. Any thoughts? > > > > > I dont know, I only put that there to look fancy lol > > it works either way with mine. > > I am not familiar with the way that the 'module' > > thing works, or whether you have to compile it > > in a similar way to Java's packages. > > > > Im waiting for Mathew's book. :o)) > > What book? What're you talking about. ;) > > (As soon as I can get DTL done and out of the way, then maybe I can pay attention > to some other, more potentially lucrative matters ... <G>) Cant wait! Ofcourse you would include a chapter(at least) on the DTL? I have another OT question for you. I have read articles by you a Walter in Dr Dobbs. If one was to subscribe to a journal, which would you say would more likely have the odd D article in it? (Not including the D journal, because who knows when that will surface.) Thanks! Phill. |
May 08, 2004 Re: Please Help! Linker problem (me!) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Phill | "Phill" <phill@pacific.net.au> wrote in message news:c7htjo$3057$1@digitaldaemon.com... > > "Matthew" <matthew.hat@stlsoft.dot.org> wrote in message news:c7hdi7$29ok$1@digitaldaemon.com... > > > > "Phill" <phill@pacific.net.au> wrote in message news:c75bcl$1r05$1@digitaldaemon.com... > > > > > > "Scott Egan" <scotte@tpg.com.aux> wrote in message news:c75aun$1qhc$1@digitaldaemon.com... > > > > Thanks Phill. > > > > > > > > I got yours working even after I moved the 'globals g' definition to > the > > > > glbl.d file. > > > > > > > > The only diference I noted was that you used the module statement at > the > > > top > > > > of the glbl.d file. > > > > > > > > So I included it at the top of my file and the problem went away. > > > > > > > > Now....why?!!! The reat of my files are imported OK without module statements. > > > > > > > > I thought modulename = filename (less .d) if not specified. Any > thoughts? > > > > > > > I dont know, I only put that there to look fancy lol > > > it works either way with mine. > > > I am not familiar with the way that the 'module' > > > thing works, or whether you have to compile it > > > in a similar way to Java's packages. > > > > > > Im waiting for Mathew's book. :o)) > > > > What book? What're you talking about. ;) > > > > (As soon as I can get DTL done and out of the way, then maybe I can pay > attention > > to some other, more potentially lucrative matters ... <G>) > > Cant wait! > > Ofcourse you would include a chapter(at least) on the DTL? That's for sure. (Of course, nothing's sorted on the D book yet.) FYI, I'm actually thinking that of discussing other STL incarnations in other languages in my next book - "Extended STL". This'll fall naturally out of the Ranges concept work, since it spans both C++ and D, and I've also been chatting to some people about STL-like things in some other languages, but that's very early stuff. > I have another OT question for you. > I have read articles by you a Walter in Dr Dobbs. To the best of my knowledge, so far we've had the following so far: WB: "The D Programming Language", DDJ, Feb 2002 MW: "C# Performance: Comparison with C, C++, D and Java, Parts 1 & 2", WDN, Special Online Supplement, Fall 2003 MW: "Identity and Equality: Syntax and Semantics", CUJ, October 2003 MW: "Positive Integration #3: Mapping recls to D and Java", CUJ, January 2004 WB + MW: "Collection Enumeration: Loops, Iterators and Nested Functions", DDJ, March 2004 WB: "Nested Functions", CUJ, May 2004 (I've also got a couple of Tech Tips in with DDJ that pertain to D which may see the light of day sometime over the next 6-12 months.) > If one was to subscribe to a journal, which would you say would more likely have the odd D article in it? Despite the distribution shown above, it's far more likely that we'll be doing more for Dr Dobb's than CUJ. In fact, we're planning to make a few proposals very soon, so I would hope you'd get some D-value out of a year's subscription to DDJ if you made it now. ;) But they're both great mags, so it depends on how much C++ vs everything-else you need. > (Not including the D journal, because who knows when > that will surface.) Yeah, there are only so many hours in the day. Plus, for me, I've been living on thin air and shoe leather for the last 18 months - that's the romantic life of the penurious author <g> - so I favour submissions to paying journals when I can. Once I'm back in real work, I may well feel more than generously inclined towards TDJ, and aim my D submissions there. |
May 09, 2004 Re: Please Help! Linker problem (me!) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | "Matthew" <matthew.hat@stlsoft.dot.org> wrote in message news:c7humu$31jj$1@digitaldaemon.com... > > "Phill" <phill@pacific.net.au> wrote in message news:c7htjo$3057$1@digitaldaemon.com... > > > > "Matthew" <matthew.hat@stlsoft.dot.org> wrote in message news:c7hdi7$29ok$1@digitaldaemon.com... > > > > > > "Phill" <phill@pacific.net.au> wrote in message news:c75bcl$1r05$1@digitaldaemon.com... > > > > > > > > "Scott Egan" <scotte@tpg.com.aux> wrote in message news:c75aun$1qhc$1@digitaldaemon.com... > > > > > Thanks Phill. > > > > > > > > > > I got yours working even after I moved the 'globals g' definition to > > the > > > > > glbl.d file. > > > > > > > > > > The only diference I noted was that you used the module statement at > > the > > > > top > > > > > of the glbl.d file. > > > > > > > > > > So I included it at the top of my file and the problem went away. > > > > > > > > > > Now....why?!!! The reat of my files are imported OK without module > > > > > statements. > > > > > > > > > > I thought modulename = filename (less .d) if not specified. Any > > thoughts? > > > > > > > > > I dont know, I only put that there to look fancy lol > > > > it works either way with mine. > > > > I am not familiar with the way that the 'module' > > > > thing works, or whether you have to compile it > > > > in a similar way to Java's packages. > > > > > > > > Im waiting for Mathew's book. :o)) > > > > > > What book? What're you talking about. ;) > > > > > > (As soon as I can get DTL done and out of the way, then maybe I can pay > > attention > > > to some other, more potentially lucrative matters ... <G>) > > > > Cant wait! > > > > Ofcourse you would include a chapter(at least) on the DTL? > > That's for sure. (Of course, nothing's sorted on the D book yet.) > > FYI, I'm actually thinking that of discussing other STL incarnations in other > languages in my next book - "Extended STL". This'll fall naturally out of the > Ranges concept work, since it spans both C++ and D, and I've also been chatting > to some people about STL-like things in some other languages, but that's very > early stuff. > > > I have another OT question for you. > > I have read articles by you a Walter in Dr Dobbs. > > > To the best of my knowledge, so far we've had the following so far: > > WB: "The D Programming Language", DDJ, Feb 2002 > MW: "C# Performance: Comparison with C, C++, D and Java, Parts 1 & 2", WDN, > Special Online Supplement, Fall 2003 > MW: "Identity and Equality: Syntax and Semantics", CUJ, October 2003 > MW: "Positive Integration #3: Mapping recls to D and Java", CUJ, January 2004 > WB + MW: "Collection Enumeration: Loops, Iterators and Nested Functions", DDJ, > March 2004 > WB: "Nested Functions", CUJ, May 2004 > > (I've also got a couple of Tech Tips in with DDJ that pertain to D which may see > the light of day sometime over the next 6-12 months.) > > > If one was to subscribe to a journal, which would you say would more likely > > have the odd D article in it? > > Despite the distribution shown above, it's far more likely that we'll be doing > more for Dr Dobb's than CUJ. In fact, we're planning to make a few proposals very > soon, so I would hope you'd get some D-value out of a year's subscription to DDJ > if you made it now. ;) > > But they're both great mags, so it depends on how much C++ vs everything-else you > need. > > > (Not including the D journal, because who knows when > > that will surface.) > > Yeah, there are only so many hours in the day. Plus, for me, I've been living on > thin air and shoe leather for the last 18 months - that's the romantic life of > the penurious author <g> - so I favour submissions to paying journals when I can. > Once I'm back in real work, I may well feel more than generously inclined towards > TDJ, and aim my D submissions there. > Thanks Mathew! DDJ it shall be then. Phill. |
Copyright © 1999-2021 by the D Language Foundation