Installing D on OSX using .dmg

2014-03-15 Thread Joel
I get an access problem (Downloads & Tools. link), it saying it's an unidentified developer. Thanks for any help.

Ubuntu dmd 2.065 amd64 linkage problem.

2014-03-15 Thread Carl Sturtivant
Back at 2.062 I was able to force the whole of D's runtime/phobos into an executable which was exactly what I wanted for a specific project containing not just D but around 50,000 lines of C. (This is to do with having dynamic libraries link back to the executable when they're loaded with dlo

Re: Improving IO Speed

2014-03-15 Thread Artem Tarasov
Did you try setvbuf method of std.stdio.File?

Re: Get Compile Errors - Command Line

2014-03-15 Thread Adam D. Ruppe
On Saturday, 15 March 2014 at 19:11:38 UTC, Bauss wrote: Note I am not typing the arguments, but rather starting the process. Skip to the bottom of this message if you are doing it in D and don't care how it is done in the lower level api. The CreateProcess API call takes a STARTUPINFO argu

Re: Get Compile Errors - Command Line

2014-03-15 Thread Ali Çehreli
On 03/15/2014 12:11 PM, Bauss wrote: > On Saturday, 15 March 2014 at 16:08:06 UTC, Ali Çehreli wrote: >> dmd foo.d 2> error.log > > Doesn't work. What happens? > Note I am not typing the arguments, but rather starting the process. Your first sentence had "compiling manual through command li

Re: Get Compile Errors - Command Line

2014-03-15 Thread Bauss
On Saturday, 15 March 2014 at 16:08:06 UTC, Ali Çehreli wrote: On 03/15/2014 03:04 AM, Bauss wrote: > On Saturday, 15 March 2014 at 02:05:26 UTC, Chris Williams wrote: >> On Friday, 14 March 2014 at 17:10:46 UTC, Bauss wrote: >>> I'm using dmd.exe and not cmd.exe >> >> dmd.exe doesn't have a GUI

Re: Insert if doesn't exist without double lookup.

2014-03-15 Thread Max Klyga
On 2014-03-15 18:44:46 +, Agustin said: Hello!, i would like to know if this is possible. auto asValue ?= (map["Key"] == new Value); Instead of doing: if (("Key" in map) is null) map["Key"] = new Value auto asValue = map["Key"]; auto needle = "Key" in map; auto value = needle ? *nee

Insert if doesn't exist without double lookup.

2014-03-15 Thread Agustin
Hello!, i would like to know if this is possible. auto asValue ?= (map["Key"] == new Value); Instead of doing: if (("Key" in map) is null) map["Key"] = new Value auto asValue = map["Key"];

Re: Get Compile Errors - Command Line

2014-03-15 Thread Ali Çehreli
On 03/15/2014 03:04 AM, Bauss wrote: > On Saturday, 15 March 2014 at 02:05:26 UTC, Chris Williams wrote: >> On Friday, 14 March 2014 at 17:10:46 UTC, Bauss wrote: >>> I'm using dmd.exe and not cmd.exe >> >> dmd.exe doesn't have a GUI. You're probably running dmd.exe inside >> cmd.exe. >> >> dmd f

Re: Get Compile Errors - Command Line

2014-03-15 Thread Bauss
On Saturday, 15 March 2014 at 02:05:26 UTC, Chris Williams wrote: On Friday, 14 March 2014 at 17:10:46 UTC, Bauss wrote: I'm using dmd.exe and not cmd.exe dmd.exe doesn't have a GUI. You're probably running dmd.exe inside cmd.exe. dmd foo.d > mylog.txt dmd.exe is a console application. An