December 15, 2010
New beta posted.

December 15, 2010

Steve Schveighoffer wrote:
> Without even running it, I noticed that the executable bits are not correctly set for Linux
>
> 

fixed.
December 15, 2010

Steve Schveighoffer wrote:
> I have a fix for bug 5353, should I check it in or wait until beta is released?
>
> 

Rolled in.
December 15, 2010

Don Clugston wrote:
> On 15 December 2010 10:38, Walter Bright <walter at digitalmars.com> wrote:
> 
>> Tip from Brad got it working.
>>
>> http://ftp.digitalmars.com/dmd2beta.zip
>> 
>
> I found some minor issues with the ddoc for druntime. I've fixed them in svn. Also,  html/phobos/std_iterator.html should be deleted from the download.
>
> These fixes only affect the documentation.
>
> 

Rolled in.
December 16, 2010
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
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
December 16, 2010
It doesn't fail on my end, compiles and runs no problem.

Am I missing something?

Here is my session:

steves at steve-laptop:~/testd$ cat testregression.d
import std.string;

char* toCString(string _str)
{
    return cast(char*)toStringz(_str);
}

void main(){

    auto foo = toCString("fooo");
}
steves at steve-laptop:~/testd$ ~/dmd2/linux/bin/dmd | grep Compiler
Digital Mars D Compiler v2.051
steves at steve-laptop:~/testd$ ~/dmd2/linux/bin/dmd testregression.d
steves at steve-laptop:~/testd$ ./testregression
steves at steve-laptop:~/testd$

-Steve



----- Original Message ----
> From: Stephan Dilly <Dilly at Funatics.de>
> To: Discuss the dmd beta releases for D <dmd-beta at puremagic.com>
> 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
> > dmd-beta at puremagic.com
> >  http://lists.puremagic.com/mailman/listinfo/dmd-beta
> >
> _______________________________________________
> dmd-beta  mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
> 



December 16, 2010
Sorry, I forgot to add the switches, they do work though:

steves at steve-laptop:~/testd$ ~/dmd-latest/linux/bin/dmd -noboundscheck -release
-inline testregression.d
steves at steve-laptop:~/testd$ ./testregression
steves at steve-laptop:~/testd$

-Steve



----- Original Message ----
> From: Stephan Dilly <Dilly at Funatics.de>
> To: Discuss the dmd beta releases for D <dmd-beta at puremagic.com>
> 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
> > dmd-beta at puremagic.com
> >  http://lists.puremagic.com/mailman/listinfo/dmd-beta
> >
> _______________________________________________
> dmd-beta  mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
> 



December 17, 2010
i don't know why but it still does not build with the same errors here. maybe a win32 only issue ? can someone reproduce this under windows ? it happens in almost all my projects when trying to build with these parameters.


On 16.12.2010 23:21, Steve Schveighoffer wrote:
> Sorry, I forgot to add the switches, they do work though:
>
> steves at steve-laptop:~/testd$ ~/dmd-latest/linux/bin/dmd -noboundscheck -release
> -inline testregression.d
> steves at steve-laptop:~/testd$ ./testregression
> steves at steve-laptop:~/testd$
>
> -Steve
>
>
>
> ----- Original Message ----
>> From: Stephan Dilly<Dilly at Funatics.de>
>> To: Discuss the dmd beta releases for D<dmd-beta at puremagic.com>
>> 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
>>> dmd-beta at puremagic.com
>>>   http://lists.puremagic.com/mailman/listinfo/dmd-beta
>>>
>> _______________________________________________
>> dmd-beta  mailing list
>> dmd-beta at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>>
>
>
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
December 17, 2010
On 17 December 2010 01:02, Stephan Dilly <Dilly at funatics.de> wrote:
> i don't know why but it still does not build with the same errors here. maybe a win32 only issue ? can someone reproduce this under windows ? it happens in almost all my projects when trying to build with these parameters.

Confirmed, fails on Win32,
December 17, 2010
The effect of the command line switches can be seen in this reduced test case:
----------test0.d
import test1;

void main()
{
    book();
}
--------test1.d
void book()
{
    undefined;
}
--------------------------------
It only generates the error about "undefined" if you compile with
-noboundscheck -release -inline.
That's actually not a bug.
I believe that in the test case, the 'undefined variable' error is
suppressed because of bug 4269 "Regression(2.031) invalid type
accepted if evaluated while errors are gagged".
But I'm not sure where the error in Phobos is, which is being suppressed.


On 17 December 2010 01:22, Don Clugston <dclugston at googlemail.com> wrote:
> On 17 December 2010 01:02, Stephan Dilly <Dilly at funatics.de> wrote:
>> i don't know why but it still does not build with the same errors here. maybe a win32 only issue ? can someone reproduce this under windows ? it happens in almost all my projects when trying to build with these parameters.
>
> Confirmed, fails on Win32,
>