Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread Walter Bright
Nick Sabalausky wrote: On April 1? What is this, a joke? ;-) It's still March here!

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread Olli Aalto
Walter Bright wrote: The large volume of bug fixes is because a lot of people contributed patches. Thanks! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.042.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.027.zip

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread Walter Bright
Olli Aalto wrote: main.d = main Error: version identifier 'Posix' is reserved and cannot be set Command /home/oaalto/D/dsss/bin/rebuild returned with code 256, aborting. Error: Command failed, aborting. Wasn't this supposed to be fixed for 1.042 too? Yes. I goofed that up. Sorry.

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread bearophile
davidl: why not make opDot some compile time stuff? You mean run time. this can be particular useful for COM And GUIs, I guess. It smells of Object-C++, but the syntax is nicer. But such runtime code must be not included into the executable if this feature is nowhere used in the code. D

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread Don
bearophile wrote: davidl: why not make opDot some compile time stuff? You mean run time. No, he means compile time. The name becomes a template value parameter, which is available at compile time. this can be particular useful for COM And GUIs, I guess. It smells of Object-C++, but

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread bearophile
Walter Bright: On Windows, if there are multiple source files on the command line they are now read with a background thread. This may speed up compilation. I have tried on Windows, on a 2-core CPU and the CPU usage is about 50% still (only one core used). I have not timed much difference in

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread 0ffh
bearophile wrote: I have tried on Windows, on a 2-core CPU and the CPU usage is about 50% still (only one core used). Well, I that's a pure reader thread running in the bg it wouldn't take any cpu time. That's because it's basically just waiting for data transfers from the disk to put them in

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread dsimcha
== Quote from Walter Bright (newshou...@digitalmars.com)'s article The large volume of bug fixes is because a lot of people contributed patches. Thanks! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.042.zip http://www.digitalmars.com/d/2.0/changelog.html

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread Don
dsimcha wrote: == Quote from Walter Bright (newshou...@digitalmars.com)'s article The large volume of bug fixes is because a lot of people contributed patches. Thanks! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.042.zip

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread dsimcha
== Quote from Don (nos...@nospam.com)'s article Is it just me though, or does the D2 win32 build crash after successfully building the project? For me it works, but then crashes instead of exiting gracefully. No big deal, though, as this is the Jargon File's definition of a minor

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread Walter Bright
I've thought of that a couple times, and there was a reason it was a problem, I just can't remember it at the moment!

Re: dmd 1.042 and 2.027 releases: Linux version doesn't work

2009-04-01 Thread Walter Bright
Lars Kyllingstad wrote: ...because the file dmd/linux/lib/libphobos2.a is empty. Fixed.

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread Nick Sabalausky
Nick Sabalausky a...@a.a wrote in message news:gr09qr$179...@digitalmars.com... Yes, I'm wondering if this will finally let us do something along the lines of: template Foo() { alias blah blah this; // Was: const char[] Foo = blah blah; } Or, perhaps more likely, wondering if

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread Charles Hixson
bearophile wrote: davidl: why not make opDot some compile time stuff? You mean run time. this can be particular useful for COM And GUIs, I guess. It smells of Object-C++, but the syntax is nicer. But such runtime code must be not included into the executable if this feature is nowhere

Re: dmd 1.042 and 2.027 releases

2009-04-01 Thread Daniel Keep
dsimcha wrote: == Quote from Don (nos...@nospam.com)'s article It's just you. g. The win32 build works fine for me. Never mind, it looks to be related to some strange options my IDE is passing to DMD. Just tell it to stop passing -hcf [1]. -- Daniel [1] HCF: Halt and Catch Fire, an