Re: dmd 1.068 and 2.053 release

2011-05-16 Thread Don
Jonathan M Davis wrote: On 2011-05-15 03:50, Joel Christensen wrote: Looks like enum's are tighter (eg. 'enum last = media[ $ - 1 ];' doesn't work now). It was working in 52. I had heard it might be relaxed, not tightened. I get the error, 'cannot be read at compile time'. Also immutable imstr

Re: dmd 1.068 and 2.053 release

2011-05-16 Thread Jonathan Crapuchettes
I'm getting a segfault while compiling my code with the 64-bit version of dmd 2.053. I can't seem to figure out where the problem exists, but something is making me think that it is a problem with std.parallelism. Attached is the output of dmd with -v. Walter Bright wrote: Thanks for

Re: dmd 1.068 and 2.053 release

2011-05-16 Thread Walter Bright
On 5/16/2011 10:11 AM, Jonathan Crapuchettes wrote: I'm getting a segfault while compiling my code with the 64-bit version of dmd 2.053. I can't seem to figure out where the problem exists, but something is making me think that it is a problem with std.parallelism. Attached is the output of dmd

Re: dmd 1.068 and 2.053 release

2011-05-15 Thread Rainer Schuetze
You have to update dbghelp.dll. It's version is 5.1.2600.5512 on my XP, which does not work. You probably need some version 6.x, 6.11.1.404 from the Microsoft Debugging Tools for Windows worked for me. http://msdl.microsoft.com/download/symbols/debuggers/dbg_x86_6.11.1.404.msi There is a

Re: dmd 1.068 and 2.053 release

2011-05-15 Thread Mafi
Am 14.05.2011 18:14, schrieb Mafi: Am 14.05.2011 17:09, schrieb Extrawurst: On 14.05.2011 15:23, Mafi wrote: Am 13.05.2011 23:27, schrieb Walter Bright: Thanks for everyone's hard work on this release! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip

Re: dmd 1.068 and 2.053 release

2011-05-15 Thread Joel Christensen
Looks like enum's are tighter (eg. 'enum last = media[ $ - 1 ];' doesn't work now). It was working in 52. I had heard it might be relaxed, not tightened. I get the error, 'cannot be read at compile time'. Also immutable imstr = test; printf( toStringz( imstr ) ); wasn't working at first, but

Re: dmd 1.068 and 2.053 release

2011-05-15 Thread Jonathan M Davis
On 2011-05-15 03:50, Joel Christensen wrote: Looks like enum's are tighter (eg. 'enum last = media[ $ - 1 ];' doesn't work now). It was working in 52. I had heard it might be relaxed, not tightened. I get the error, 'cannot be read at compile time'. Also immutable imstr = test; printf(

Re: dmd 1.068 and 2.053 release

2011-05-15 Thread Joel Christensen
Thanks for the reply Jonathan. I guess it promotes less buggy programs. - Joel

Re: dmd 1.068 and 2.053 release

2011-05-15 Thread Andrej Mitrovic
On 5/15/11, Rainer Schuetze r.sagita...@gmx.de wrote: You have to update dbghelp.dll. It's version is 5.1.2600.5512 on my XP, which does not work. You probably need some version 6.x, 6.11.1.404 from the Microsoft Debugging Tools for Windows worked for me.

Re: dmd 1.068 and 2.053 release

2011-05-15 Thread Walter Bright
On 5/15/2011 4:24 AM, Joel Christensen wrote: Thanks for the reply Jonathan. I guess it promotes less buggy programs. Please submit bugzilla bug reports for any issues you think should work but do not.

Re: dmd 1.068 and 2.053 release

2011-05-15 Thread Rainer Schuetze
Andrej Mitrovic wrote: On 5/15/11, Rainer Schuetze r.sagita...@gmx.de wrote: You have to update dbghelp.dll. It's version is 5.1.2600.5512 on my XP, which does not work. You probably need some version 6.x, 6.11.1.404 from the Microsoft Debugging Tools for Windows worked for me.

Re: dmd 1.068 and 2.053 release

2011-05-15 Thread Andrej Mitrovic
A simple app like: void foo() { throw new Exception(); } void main() { foo(); } $ dmd -debug -g testexc.d testexc.exe: D:\dev\code\d_codeobject.Exception@testexc.d(3): 40CD40 40CBB7 4025EB 4021E7 411FC1 $ cv2pdb testexc.exe testexc.exe $ testexc.exe

Re: dmd 1.068 and 2.053 release

2011-05-14 Thread Mafi
Am 13.05.2011 23:27, schrieb Walter Bright: Thanks for everyone's hard work on this release! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip Now includes FreeBSD: http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zip

Re: dmd 1.068 and 2.053 release

2011-05-14 Thread Mafi
Am 14.05.2011 17:09, schrieb Extrawurst: On 14.05.2011 15:23, Mafi wrote: Am 13.05.2011 23:27, schrieb Walter Bright: Thanks for everyone's hard work on this release! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip Now includes FreeBSD:

Re: dmd 1.068 and 2.053 release

2011-05-14 Thread Andrej Mitrovic
On 5/14/11, bearophile bearophileh...@lycos.com wrote: Walter: http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.053.zip I especially like the stack trace on Windows. Do you get the symbol names displayed without running cv2pdb on the exe?

Re: dmd 1.068 and 2.053 release

2011-05-14 Thread Timon Gehr
Corrected links! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.068.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.053.zip Very Nice! Thank you and everyone involved! Thanks to Don for his CTFE-related work.

Re: dmd 1.068 and 2.053 release

2011-05-14 Thread bearophile
Andrej Mitrovic: Do you get the symbol names displayed without running cv2pdb on the exe? I am seeing the symbol names too (Windows Vista). Bye, bearophile

Re: dmd 1.068 and 2.053 release

2011-05-14 Thread Walter Bright
On 5/14/2011 2:49 PM, Timon Gehr wrote: Also, not having the full druntime source handy apparently means some code wont CTFE. What is missing?

Re: dmd 1.068 and 2.053 release

2011-05-14 Thread Andrej Mitrovic
Hmm.. so it might be an XP issue. I'll give Win7 a try later.

Re: dmd 1.068 and 2.053 release

2011-05-14 Thread Timon Gehr
Walter Bright wrote: On 5/14/2011 2:49 PM, Timon Gehr wrote: Also, not having the full druntime source handy apparently means some code wont CTFE. What is missing? I stumbled over foreach(dchar c; char_array); It will complain that _aApplycd2 is not defined. Interestingly, it does not

Re: dmd 1.068 and 2.053 release

2011-05-14 Thread Walter Bright
On 5/14/2011 4:41 PM, Timon Gehr wrote: Walter Bright wrote: On 5/14/2011 2:49 PM, Timon Gehr wrote: Also, not having the full druntime source handy apparently means some code wont CTFE. What is missing? I stumbled over foreach(dchar c; char_array); It will complain that _aApplycd2 is not

Re: dmd 1.068 and 2.053 release

2011-05-13 Thread Andrei Alexandrescu
On 5/13/11 4:27 PM, Walter Bright wrote: Thanks for everyone's hard work on this release! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip Now includes FreeBSD: http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zip

Re: dmd 1.068 and 2.053 release

2011-05-13 Thread Andrej Mitrovic
133 bytes? Something went wrong with that ftp for DMD2.

Re: dmd 1.068 and 2.053 release

2011-05-13 Thread Andrej Mitrovic
I'm referring to http://ftp.digitalmars.com/dmd.2.053.zip. You've posted the wrong links in your post btw.

Re: dmd 1.068 and 2.053 release

2011-05-13 Thread dsimcha
== Quote from Walter Bright (newshou...@digitalmars.com)'s article Thanks for everyone's hard work on this release! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip Now includes FreeBSD: http://www.digitalmars.com/d/2.0/changelog.html

Re: dmd 1.068 and 2.053 release

2011-05-13 Thread dsimcha
== Quote from Walter Bright (newshou...@digitalmars.com)'s article Thanks for everyone's hard work on this release! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip Now includes FreeBSD: http://www.digitalmars.com/d/2.0/changelog.html

Re: dmd 1.068 and 2.053 release

2011-05-13 Thread Extrawurst
On 13.05.2011 23:27, Walter Bright wrote: Thanks for everyone's hard work on this release! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip Now includes FreeBSD: http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zip

Re: dmd 1.068 and 2.053 release

2011-05-13 Thread Walter Bright
Corrected links! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.068.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.053.zip

Re: dmd 1.068 and 2.053 release

2011-05-13 Thread Walter Bright
On 5/13/2011 3:13 PM, dsimcha wrote: Great release! (I know from testing the betas.) Two issues: The links are for previous releases and the docs for std.parallelism and std.net.isemail aren't on the website. Up now.