[Issue 15453] Check for a wrong predefined version identifier CRuntime_Digitalmars
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jan 5 17:07:15 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15453
--- Comment #2 from jiki at red.email.ne.jp ---
(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.
--
More information about the Digitalmars-d-bugs
mailing list