Why does RDMD evaluate templates twice?
Nick Sabalausky
a at a.a
Wed May 18 21:42:37 PDT 2011
"Nick Sabalausky" <a at a.a> wrote in message
news:ir2750$1hd2$1 at digitalmars.com...
>
>
>> rdmd --chatty test.d
> dmd -v -o- "test.d" >test.d.deps
> Compile Time
>
> md -of"C:\DOCUME~1\NICKSA~1\LOCALS~1\Temp\.rdmd\test-d-A8FD055311F603E847689B6FC07BFF23.exe"
> -od"C:\DOCUME~1\NICKSA~1\LOCALS~1\Temp\.rdmd\rdmd-test.d-A8FD055311F603E847689B6FC07BFF23""test.d"CompileTimeRuntime> rdmd --chatty test.ddmd -v -o- "test.d" >test.d.depsCompileTimeRuntime>That got messed up, trying again (and note that I'm on windows, hence the">" prompt):// test.dimport std.stdio;pragma(msg, "Compile Time");void main(){ writeln("Runtime");}> rdmd --chatty test.ddmd -v -o- "test.d" >test.d.depsCompile Timedmd -of"C:\DOCUME~1\NICKSA~1\LOCALS~1\Temp\.rdmd\test-d-A8FD055311F603E847689B6FC07BFF23.exe" -od"C:\DOCUME~1\NICKSA~1\LOCALS~1\Temp\.rdmd\rdmd-test.d-A8FD055311F603E847689B6FC07BFF23" "test.d"Compile TimeRuntime> rdmd --chatty test.ddmd -v -o- "test.d" >test.d.depsCompile TimeRuntime
More information about the Digitalmars-d-learn
mailing list