Thread overview |
---|
July 11, 2004 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". :-) |
July 11, 2004 Re: DMC++: No -U ?? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | "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 undefine all > symbols? There is no -U, just a -u to undefine all the symbols. |
July 11, 2004 Re: DMC++: No -U ?? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "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... > > 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? > > There is no -U, just a -u to undefine all the symbols. How about adding one? :-) |
July 11, 2004 Re: DMC++: No -U ?? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | "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... > > > > "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 undefine > > all > > > symbols? > > > > There is no -U, just a -u to undefine all the symbols. > > How about adding one? :-) Nobody 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>. |
July 11, 2004 Re: DMC++: No -U ?? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "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... > > > > "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... > > > > 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? > > > > > > There is no -U, just a -u to undefine all the symbols. > > > > How about adding one? :-) > > Nobody 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>. I use it a lot, to stop Win32 compilers from thinking that they're on Win32, when I want to test some UNIX code. |
July 11, 2004 Re: DMC++: No -U ?? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | "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... > > > > There is no -U, just a -u to undefine all the symbols. > > > > > > How about adding one? :-) > > > > Nobody 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>. > > I use it a lot, to stop Win32 compilers from thinking that they're on Win32, when > I want to test some UNIX code. #undef _WIN32 will work, too. |
July 12, 2004 Re: DMC++: No -U ?? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "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... > > > > > There is no -U, just a -u to undefine all the symbols. > > > > > > > > How about adding one? :-) > > > > > > Nobody 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>. > > > > I use it a lot, to stop Win32 compilers from thinking that they're on > Win32, when > > I want to test some UNIX code. > > #undef _WIN32 > > will work, too. But that's in code. How would I insert that in the command-line of the Arturius tool-chain? |
July 12, 2004 Re: DMC++: No -U ?? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | "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... > > > > "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... > > > > > > There is no -U, just a -u to undefine all the symbols. > > > > > > > > > > How about adding one? :-) > > > > > > > > Nobody 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>. > > > > > > I use it a lot, to stop Win32 compilers from thinking that they're on > > Win32, when > > > I want to test some UNIX code. > > > > #undef _WIN32 > > > > will work, too. > > But that's in code. How would I insert that in the command-line of the Arturius tool-chain? You can add: -HImatthew.h where matthew.h contains: #undef _WIN32 |
July 13, 2004 Re: DMC++: No -U ?? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "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... > > > > "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... > > > > > > > There is no -U, just a -u to undefine all the symbols. > > > > > > > > > > > > How about adding one? :-) > > > > > > > > > > Nobody 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>. > > > > > > > > I use it a lot, to stop Win32 compilers from thinking that they're on > > > Win32, when > > > > I want to test some UNIX code. > > > > > > #undef _WIN32 > > > > > > will work, too. > > > > But that's in code. How would I insert that in the command-line of the Arturius tool-chain? > > You can add: > -HImatthew.h > where matthew.h contains: > #undef _WIN32 That'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 ... ;) |
Copyright © 1999-2021 by the D Language Foundation