This relates to a document issue.
https://issues.dlang.org/show_bug.cgi?id=15452
The compiler normally rejects same version identifiers as predefined.
Now, 2.069 added some predefined version identifiers in forms of CRuntime_xxx.
--------------------------------------
dmd.exe -version=CRuntime_Digitalmars
Error: version identifier 'CRuntime_Digitalmars' is reserved and cannot be set
dmd.exe -version=CRuntime_DigitalMars
(accepts-invalid)
--------------------------------------
Checker: CRuntime_Digitalmars ( small 'm' ).
Correct: CRuntime_DigitalMars
Though the document spec has same mistake as this,
many codes in Phobos and Druntime write **Mars actually. (which is working well)
So I think this is to be fixed.
(In reply to jiki from comment #0)
> --------------------------------------
> dmd.exe -version=CRuntime_Digitalmars
> Error: version identifier 'CRuntime_Digitalmars' is reserved and cannot be
> set
>
> dmd.exe -version=CRuntime_DigitalMars
> (accepts-invalid)
> --------------------------------------
>
> Checker: CRuntime_Digitalmars ( small 'm' ).
> Correct: CRuntime_DigitalMars
>
And more:
--------------------------------------
dmd -deps hello.d
depsVersion core.stdc.stdio (*/druntime/import/core/stdc/stdio.d) : CRuntime_DigitalMars
# This line appears multiple times, which should be suppressed.
--------------------------------------
I tested in Windows 7.
Comment #3 by github-bugzilla — 2016-01-06T03:25:50Z