Re: Bug? Bad file name?

2015-11-14 Thread Nicholas Wilson via Digitalmars-d-learn
On Saturday, 14 November 2015 at 05:44:44 UTC, Anonymous wrote: I was playing with some code someone posted on the forum that involved opDispatch and compile time parameters. I pasted it in a file named templOpDispatch.d, ran it, and got an error. Then I noticed if I renamed the file it

Re: Bug? Bad file name?

2015-11-14 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 14 November 2015 at 05:44:44 UTC, Anonymous wrote: Then running 'rdmd templOpDispatch.d' produces: std.process.ProcessException@std\process.d(568): Failed to spawn new process (The requested operation requires elevation.) This is a Windows quirk. When they introduced UAC in

Bug? Bad file name?

2015-11-13 Thread Anonymous via Digitalmars-d-learn
I was playing with some code someone posted on the forum that involved opDispatch and compile time parameters. I pasted it in a file named templOpDispatch.d, ran it, and got an error. Then I noticed if I renamed the file it worked. The source didn't matter; same thing happens with an empty