Why does RDMD evaluate templates twice?

Nick Sabalausky a at a.a
Wed May 18 21:45:03 PDT 2011


"Nick Sabalausky" <a at a.a> wrote in message 
news:ir27ao$1hob$1 at digitalmars.com...
> "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
>>
>> 
>> d  -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>Thatgot messed up, trying again (and note that I'm on windows, hence the">"prompt):// test.dimport std.stdio;pragma(msg, "Compile Time");voidmain(){    writeln("Runtime");}> rdmd --chatty test.ddmd  -v -o- "test.d">test.d.depsCompileimedmd  -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>What the hell is wrong with my NG client? One more try:// 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