Re: dmd 2.057 release

2011-12-16 Thread Christian Manning
On Wednesday, 14 December 2011 at 07:05:25 UTC, Walter Bright wrote: Highlights are use of XMM floating point registers in 64 bit targets, and now supporting OS X 64 as a target. http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.057.zip A lot of people put a ton

Re: dmd 2.057 release

2011-12-16 Thread Christian Manning
On Friday, 16 December 2011 at 16:43:29 UTC, Jonathan M Davis wrote: On Friday, December 16, 2011 16:26:11 Christian Manning wrote: On Wednesday, 14 December 2011 at 07:05:25 UTC, Walter Bright wrote: > Highlights are use of XMM floating point registers in 64 bit > targets, and now supp

Re: dmd 2.057 release

2011-12-16 Thread Christian Manning
On Friday, 16 December 2011 at 22:48:21 UTC, Jonathan M Davis wrote: That actually has exactly the same problem. You're slicing a temporary. You can't slice a static array unless it's an actual variable, or you're going to have problems. b points to a slice of a static array which doesn't exist

Re: dmd 2.057 release

2011-12-17 Thread Christian Manning
On Saturday, 17 December 2011 at 11:02:41 UTC, bearophile wrote: Jonathan M Davis: On Friday, December 16, 2011 22:37:50 Christian Manning wrote: > ubyte[4] a; > auto x() { > return a; > } > void main() { > auto b = x()[1..$]; > } ... Regardless, the compiler shouldn