Why does RDMD evaluate templates twice?
Nick Sabalausky
a at a.a
Wed May 18 21:47:25 PDT 2011
"Nick Sabalausky" <a at a.a> wrote in message
news:ir27fa$1hs0$1 at digitalmars.com...
> "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
>>>
>>>
>>>
>>> -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>Thatgotmessed up, trying again (and note that I'm on windows, hencethe">"prompt):// test.dimport std.stdio;pragma(msg, "CompileTime");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");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>Oh well, fuck it. In any case, run "rdmd --chatty test.d" a couple times andyou'll see.
More information about the Digitalmars-d-learn
mailing list