It doesn't fail on my end, compiles and runs no problem.
Am I missing something?
Here is my session:
ste...@steve-laptop:~/testd$ cat testregression.d
import std.string;
char* toCString(string _str)
{
return cast(char*)toStringz(_str);
}
void main(){
auto foo = toCString("fooo");
}
ste...@steve-laptop:~/testd$ ~/dmd2/linux/bin/dmd | grep Compiler
Digital Mars D Compiler v2.051
ste...@steve-laptop:~/testd$ ~/dmd2/linux/bin/dmd testregression.d
ste...@steve-laptop:~/testd$ ./testregression
ste...@steve-laptop:~/testd$
-Steve
----- Original Message ----
> From: Stephan Dilly <[email protected]>
> To: Discuss the dmd beta releases for D <[email protected]>
> Sent: Wed, December 15, 2010 7:19:05 PM
> Subject: Re: [dmd-beta] dmd 2.051 beta
>
> sadly it doesn't fix the regression i posted earlier. will it be
> released with it ?
>
> On 16.12.2010 01:04, Walter Bright wrote:
> > New beta posted.
> >
> > _______________________________________________
> > dmd-beta mailing list
> > [email protected]
> > http://lists.puremagic.com/mailman/listinfo/dmd-beta
> >
> _______________________________________________
> dmd-beta mailing list
> [email protected]
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta