May 07, 2011 [dmd-beta] dmd 2.053 beta | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On 5/7/2011 4:07 PM, Walter Bright wrote:
>
>
>> ...and when I try to run the tests on Linux instead I get Error: cannot read file std/net/isemail.d.
>>
>> It appears that, in your zip package, net ended up as a file instead of a directory. Its contents are the source code to std.net.isemail.
>>
>
> Fixed.
Great. One more small issue: Windows got stack traces for this release, which makes me happy, but they only print out the addresses of the functions in the default setup, not the names. I know on Linux you need -L--export-dynamic to get the names to print. Is this possible on Windows? If so, it should probably be the default.
|
May 07, 2011 [dmd-beta] dmd 2.053 beta | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright |
On 5/6/2011 9:47 PM, Walter Bright wrote:
>
> http://ftp.digitalmars.com/dmd2beta.zip
>
New beta up with missing files added, updated changelog, and new std.parallelism.
|
May 07, 2011 [dmd-beta] dmd 2.053 beta | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha |
On 5/7/2011 4:41 PM, David Simcha wrote:
>
> Great. One more small issue: Windows got stack traces for this release, which makes me happy, but they only print out the addresses of the functions in the default setup, not the names. I know on Linux you need -L--export-dynamic to get the names to print. Is this possible on Windows? If so, it should probably be the default.
>
I believe Sean wrote that code.
In any case, you won't get any names unless you link with debug info, because Windows executable files don't have names in them.
|
May 08, 2011 [dmd-beta] dmd 2.053 beta | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | I found another big lib that was rendered unbuildable with the new release: DFL
i reduced it to this:
module main;
struct Size
{
union
{
struct
{
int width;
int height;
}
long size; // package
}
}
enum Size foo = {2 ,5};
Size bar = foo;
dmd2.053 beta says: "main.d(17): Error: duplicate union initialization for size"
On 08.05.2011 02:10, Walter Bright wrote:
>
>
> On 5/6/2011 9:47 PM, Walter Bright wrote:
>>
>> http://ftp.digitalmars.com/dmd2beta.zip
>>
>
> New beta up with missing files added, updated changelog, and new
> std.parallelism.
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
|
May 08, 2011 [dmd-beta] dmd 2.053 beta | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | the new std.parallelism and std.net.isemail modules are not listed in the phobos documentation bar.
On 08.05.2011 02:10, Walter Bright wrote:
>
>
> On 5/6/2011 9:47 PM, Walter Bright wrote:
>>
>> http://ftp.digitalmars.com/dmd2beta.zip
>>
>
> New beta up with missing files added, updated changelog, and new
> std.parallelism.
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
|
May 08, 2011 [dmd-beta] dmd 2.053 beta | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | This code used to work under dmd2.052:
const int[] foo = [1,2,3,4];
void main(string[] argv)
{
int[] bar = foo;
}
now the compiler says: main.d(30): Error: cannot implicitly convert expression (foo) of type const(int[]) to int[]
but i checked the old behaviour and the compiler made a foo.dup implicitly. was this an intended fix or is it a regression now ? This makes dwt2 not able to compile with the current beta.
On 08.05.2011 02:10, Walter Bright wrote:
>
>
> On 5/6/2011 9:47 PM, Walter Bright wrote:
>>
>> http://ftp.digitalmars.com/dmd2beta.zip
>>
>
> New beta up with missing files added, updated changelog, and new
> std.parallelism.
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
|
May 07, 2011 [dmd-beta] dmd 2.053 beta | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | > On 5/6/2011 9:47 PM, Walter Bright wrote:
> > http://ftp.digitalmars.com/dmd2beta.zip
>
> New beta up with missing files added, updated changelog, and new
> std.parallelism. _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
Wow. The list of fixed bugs is _huge_. Definitely a great thing to see.
- Jonathan M Davis
|
May 07, 2011 [dmd-beta] dmd 2.053 beta | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Dilly | On 5/7/2011 10:07 PM, Stephan Dilly wrote:
> This code used to work under dmd2.052:
>
> const int[] foo = [1,2,3,4];
>
> void main(string[] argv)
> {
> int[] bar = foo;
> }
>
> now the compiler says: main.d(30): Error: cannot implicitly convert expression (foo) of type const(int[]) to int[]
>
> but i checked the old behaviour and the compiler made a foo.dup implicitly. was this an intended fix or is it a regression now ? This makes dwt2 not able to compile with the current beta.
I think the new behavior is correct. Putting an automatic .dup in there is a bad idea. This can easily be done explicitly, with minimal added verboseness.
|
May 07, 2011 [dmd-beta] dmd 2.053 beta | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan M Davis | On 5/7/2011 10:08 PM, Jonathan M Davis wrote:
>> On 5/6/2011 9:47 PM, Walter Bright wrote:
>>> http://ftp.digitalmars.com/dmd2beta.zip
>> New beta up with missing files added, updated changelog, and new
>> std.parallelism. _______________________________________________
>> dmd-beta mailing list
>> dmd-beta at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-beta
> Wow. The list of fixed bugs is _huge_. Definitely a great thing to see.
>
> - Jonathan M Davis
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
Yeah, great work! It's especially nice to see a few ancient bugs represented, since these longstanding bugs tend to represent "deep" issues.
|
May 07, 2011 [dmd-beta] dmd 2.053 beta | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Dilly |
On 5/7/2011 6:10 PM, Stephan Dilly wrote:
> the new std.parallelism and std.net.isemail modules are not listed in the phobos documentation bar.
>
done.
|
Copyright © 1999-2021 by the D Language Foundation