digitalmars.D.bugs - DMD commandline bug
- Hauke Duden (8/8) Jun 13 2004 The following commandline is not accepted by DMD
- Mike Swieton (8/11) Jun 13 2004 For some reason, the leading underscore is throwing it off. Otherwise, o...
- Hauke Duden (4/13) Jun 13 2004 Ah. You're right, it does work without the underscore. Thanks.
The following commandline is not accepted by DMD dmd -version=_UNICHAR_FAST_ unichar.d The error message is: "Error: unrecognized switch '-version=_UNICHAR_FAST_'" But the commandline help lists the following switch: "-version=ident compile in version code identified by ident" So either the switch is not documented correctly or it is not parsed right. Hauke
Jun 13 2004
On Sun, 13 Jun 2004 13:37:59 +0200, Hauke Duden wrote:The following commandline is not accepted by DMD dmd -version=_UNICHAR_FAST_ unichar.dFor some reason, the leading underscore is throwing it off. Otherwise, over here the behavior is reasonable. Mike Swieton __ You can have peace. Or you can have freedom. Don't ever count on having both at once. - Lazarus Long (Robert A. Heinlein)
Jun 13 2004
Mike Swieton wrote:On Sun, 13 Jun 2004 13:37:59 +0200, Hauke Duden wrote:Ah. You're right, it does work without the underscore. Thanks. So it really seems to be a bug in the commandline parsing. HaukeThe following commandline is not accepted by DMD dmd -version=_UNICHAR_FAST_ unichar.dFor some reason, the leading underscore is throwing it off. Otherwise, over here the behavior is reasonable.
Jun 13 2004
"Hauke Duden" <H.NS.Duden gmx.net> wrote in message news:cai460$j5t$1 digitaldaemon.com...Mike Swieton wrote:overOn Sun, 13 Jun 2004 13:37:59 +0200, Hauke Duden wrote:The following commandline is not accepted by DMD dmd -version=_UNICHAR_FAST_ unichar.dFor some reason, the leading underscore is throwing it off. Otherwise,True, but also leading _ on identifiers are reserved in D.here the behavior is reasonable.Ah. You're right, it does work without the underscore. Thanks. So it really seems to be a bug in the commandline parsing.
Jun 13 2004
True, but also leading _ on identifiers are reserved in D."Identifiers starting with __ (two underscores) are reserved." A single leading underscore should work :P
Jun 13 2004