March 04, 2003 Re: Using directive still does not work? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jim Jennings | Pardon the rant. I learned something today. Thank you all very much. JIm "Jim Jennings" <jwjenn@mindspring.com> wrote in message news:b42jq2$ann$1@digitaldaemon.com... > "Rajiv Bhagwat" <dataflow@vsnl.com> wrote in message news:b41qf3$2u16$1@digitaldaemon.com... > > The way to specify command line defines is: > > -DBROKEN_USING_DECLARATION > > and if you need to specify a value, it is: > > -DBROKEN_USING_DECLARATION=1 > > > > This should be there in the documentation, somewhere. > > - Rajiv > > Rajiv, > OK, it works. I would swear that I tried that, and it didn't work. I must be spooked. > Yes, it is in the documentation. But usually I have only a vague idea what the exact form should be. > I.e., -Dmacro[=text] what does that mean? Should I enter: > -Dmacro[=BROKEN_USING_DECLARATION] ? I know that is wrong. > -D[BROKEN_USING_DECLARATION] ? well, I know what [ . . . ] means. > -D=BROKEN_USING_DECLARATION ? > -D=#define BROKEN_USING_DECLARATION ? > -DBROKEN_USING_DECLARATION =true (or on, yes, uh-huh!) > -DDominus vobiscum. > And I can think of several more permutations and combinations (but never the right one) Is the first commandment > of Unix documentation "Thou shalt never give an example!"? I hate to keep asking these neophyte questions. > Jim J > > > |
March 10, 2003 Re: Using directive still does not work? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jim Jennings | In article <b415lj$2is1$1@digitaldaemon.com>, Jim Jennings says... > I) enter #define BROKEN_USING_DECLARATION from the #include <iostream> using std::cout; using std::endl; int main() { cout << endl; } Works fine with latest beta.. Richard |
March 13, 2003 Re: Using directive still does not work? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Richard Grant | Richard, Just now saw your post. I downloaded STLport-4.5-0119. I do not see a makefile for Digital Mars, however. I have read the Install instructions quickly, and it seems complicated to me. Can you give me some instructions? Shall I query Christof? Or just wait until a set of DM instructions are published? I can survive the "endl" bug for awhile longer. Jim J. "Richard Grant" <fractal@clark.net> wrote in message news:b4iprg$bg7$1@digitaldaemon.com... > In article <b415lj$2is1$1@digitaldaemon.com>, Jim Jennings says... > > > I) enter #define BROKEN_USING_DECLARATION from the > > #include <iostream> > > using std::cout; > using std::endl; > > int main() { > cout << endl; > } > > Works fine with latest beta.. > > Richard > > |
March 13, 2003 Re: Using directive still does not work? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jim Jennings | In article <b4oog5$2p11$1@digitaldaemon.com>, Jim Jennings says... > >Richard, >Just now saw your post. >I downloaded STLport-4.5-0119. I do not see a makefile for Digital Mars, uh.. sorry. I mean the latest DM beta. Richard |
March 13, 2003 Re: Using directive still does not work? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Richard Grant | Richard, OK, I got the beta, and using std::endl; works. I had downloaded the zip some time ago, but did not know what to do with it. I did not realize that scppn.exe was the compiler. After your message, the dawn broke. I'm way down on the learning curve, but I really like the compiler. It is very fast, with smaller .exe files. Thanks very much for the tip. Jim "Richard Grant" <fractal@clark.net> wrote in message news:b4pf8q$7if$1@digitaldaemon.com... > In article <b4oog5$2p11$1@digitaldaemon.com>, Jim Jennings says... > > > >Richard, > >Just now saw your post. > >I downloaded STLport-4.5-0119. I do not see a makefile for Digital Mars, > > uh.. sorry. I mean the latest DM beta. > > Richard > > |
Copyright © 1999-2021 by the D Language Foundation