c++ - DMC++: No -U ??
Walter Just working through the various configuration options for the different compilers, and it seems that DMC does not support -U (to undefine a named symbol). Is there another command for this? Also, how does one undefine all symbols? btw, congrats on "-cpp". :-)
Jul 10 2004
"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message news:ccq2vh$27bq$1 digitaldaemon.com...Walter Just working through the various configuration options for the different compilers, and it seems that DMC does not support -U (to undefine a named symbol). Is there another command for this? Also, how does one undefineallsymbols?There is no -U, just a -u to undefine all the symbols.
Jul 10 2004
"Walter" <newshound digitalmars.com> wrote in message news:ccq8mg$2emo$1 digitaldaemon.com..."Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message news:ccq2vh$27bq$1 digitaldaemon.com...How about adding one? :-)Walter Just working through the various configuration options for the different compilers, and it seems that DMC does not support -U (to undefine a named symbol). Is there another command for this? Also, how does one undefineallsymbols?There is no -U, just a -u to undefine all the symbols.
Jul 10 2004
"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message news:ccqa87$2gli$1 digitaldaemon.com..."Walter" <newshound digitalmars.com> wrote in message news:ccq8mg$2emo$1 digitaldaemon.com...different"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message news:ccq2vh$27bq$1 digitaldaemon.com...Walter Just working through the various configuration options for thenamedcompilers, and it seems that DMC does not support -U (to undefine aundefinesymbol). Is there another command for this? Also, how does oneNobody has asked for it in 20 years. I've also never seen it used in any makefile. I've suspected from the beginning that it was a solution in search of a problem <g>.allHow about adding one? :-)symbols?There is no -U, just a -u to undefine all the symbols.
Jul 10 2004
"Walter" <newshound digitalmars.com> wrote in message news:ccqndj$1r1$1 digitaldaemon.com..."Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message news:ccqa87$2gli$1 digitaldaemon.com...I use it a lot, to stop Win32 compilers from thinking that they're on Win32, when I want to test some UNIX code."Walter" <newshound digitalmars.com> wrote in message news:ccq8mg$2emo$1 digitaldaemon.com...different"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message news:ccq2vh$27bq$1 digitaldaemon.com...Walter Just working through the various configuration options for thenamedcompilers, and it seems that DMC does not support -U (to undefine aundefinesymbol). Is there another command for this? Also, how does oneNobody has asked for it in 20 years. I've also never seen it used in any makefile. I've suspected from the beginning that it was a solution in search of a problem <g>.allHow about adding one? :-)symbols?There is no -U, just a -u to undefine all the symbols.
Jul 11 2004
"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message news:ccr0oe$fdh$1 digitaldaemon.com..."Walter" <newshound digitalmars.com> wrote in message news:ccqndj$1r1$1 digitaldaemon.com...searchNobody has asked for it in 20 years. I've also never seen it used in any makefile. I've suspected from the beginning that it was a solution inThere is no -U, just a -u to undefine all the symbols.How about adding one? :-)Win32, whenof a problem <g>.I use it a lot, to stop Win32 compilers from thinking that they're onI want to test some UNIX code.#undef _WIN32 will work, too.
Jul 11 2004
"Walter" <newshound digitalmars.com> wrote in message news:ccsev1$2dqp$1 digitaldaemon.com..."Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message news:ccr0oe$fdh$1 digitaldaemon.com...any"Walter" <newshound digitalmars.com> wrote in message news:ccqndj$1r1$1 digitaldaemon.com...Nobody has asked for it in 20 years. I've also never seen it used inThere is no -U, just a -u to undefine all the symbols.How about adding one? :-)But that's in code. How would I insert that in the command-line of the Arturius tool-chain?searchmakefile. I've suspected from the beginning that it was a solution inWin32, whenof a problem <g>.I use it a lot, to stop Win32 compilers from thinking that they're onI want to test some UNIX code.#undef _WIN32 will work, too.
Jul 12 2004
"Matthew" <matthew hat.stlsoft.dot.org> wrote in message news:ccv1iv$8o5$1 digitaldaemon.com..."Walter" <newshound digitalmars.com> wrote in message news:ccsev1$2dqp$1 digitaldaemon.com...in"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message news:ccr0oe$fdh$1 digitaldaemon.com...any"Walter" <newshound digitalmars.com> wrote in message news:ccqndj$1r1$1 digitaldaemon.com...Nobody has asked for it in 20 years. I've also never seen it used inThere is no -U, just a -u to undefine all the symbols.How about adding one? :-)makefile. I've suspected from the beginning that it was a solutionYou can add: -HImatthew.h where matthew.h contains: #undef _WIN32searchBut that's in code. How would I insert that in the command-line of the Arturius tool-chain?Win32, whenof a problem <g>.I use it a lot, to stop Win32 compilers from thinking that they're onI want to test some UNIX code.#undef _WIN32 will work, too.
Jul 12 2004
"Walter" <newshound digitalmars.com> wrote in message news:ccv4cj$cl2$1 digitaldaemon.com..."Matthew" <matthew hat.stlsoft.dot.org> wrote in message news:ccv1iv$8o5$1 digitaldaemon.com...in"Walter" <newshound digitalmars.com> wrote in message news:ccsev1$2dqp$1 digitaldaemon.com..."Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message news:ccr0oe$fdh$1 digitaldaemon.com..."Walter" <newshound digitalmars.com> wrote in message news:ccqndj$1r1$1 digitaldaemon.com...Nobody has asked for it in 20 years. I've also never seen it usedThere is no -U, just a -u to undefine all the symbols.How about adding one? :-)onanyinmakefile. I've suspected from the beginning that it was a solutionsearchof a problem <g>.I use it a lot, to stop Win32 compilers from thinking that they'reThat's pretty cool. :) I can just have a well-known directory associated with the Arturius installation, and then translate -U for DMC++ to the above. And you call me devious ... ;)You can add: -HImatthew.h where matthew.h contains: #undef _WIN32Win32, whenBut that's in code. How would I insert that in the command-line of the Arturius tool-chain?I want to test some UNIX code.#undef _WIN32 will work, too.
Jul 13 2004