digitalmars.D.announce - dmd 1.059 and 2.044 release
- Walter Bright (7/7) May 02 2010 Highlights are the improved gdb support, better error messages, better j...
- Simen kjaeraas (5/13) May 02 2010 First! :p
- Bernard Helyer (3/11) May 02 2010 Unfortunately, GDB still doesn't work with it over here. Robert is going...
- Walter Bright (2/4) May 02 2010 Good.
- Bernard Helyer (2/6) May 02 2010 I can't stop laughing. I assume you meant to trim that quote down some! ...
- Walter Bright (2/11) May 02 2010 LOL, I meant good that Robert is working on it, not good that it doesn't...
- Robert Clipsham (4/8) May 02 2010 It seems changeset 451, your version of the fix, doesn't work... Despite...
- Walter Bright (2/5) May 02 2010 Any ideas why?
- Robert Clipsham (13/14) May 02 2010 dwarf.c:1525: infobuf->write32(*++pparamidx); // DW_AT_type
- Walter Bright (2/5) May 02 2010 Dang, I found the problem. Working on a fix.
- dennis luehring (2/17) May 02 2010 some got an D able GDB version for windows around?
- bearophile (16/18) May 02 2010 I have tried to compile this with -unittest :
- Walter Bright (2/3) May 02 2010 Looks like I broke it with a last minute change. Sigh.
- Walter Bright (2/6) May 02 2010 changeset 289 fixes it
- Adam Ruppe (10/10) May 02 2010 Any idea why the new dmd2 would print
- Bernard Helyer (2/12) May 02 2010 I've had the infinite loop thing, too. As well as the '2:' to ouput.
- Walter Bright (2/3) May 02 2010 My fault, grr.
- Walter Bright (2/5) May 02 2010 How about signing up for the beta mailing list?
- Leandro Lucarella (15/21) May 03 2010 This is getting interesting, after all these years denying the need for
- Arth Lloyd Flores (4/11) May 02 2010 --
- Lars T. Kyllingstad (8/20) May 03 2010 Great release. :) The unittest feature is my favourite this time.
- Jacob Carlborg (2/10) May 03 2010 If anyone cares, the release tags don't match, they are 1.058 and 2.043.
- Arth Lloyd Flores (5/20) May 03 2010 Please check the download page again. I think they're fixing something i...
- Jacob Carlborg (3/21) May 03 2010 I was referring to changeset 464 and 465 which say "release 1.058" and
- Arth Lloyd Flores (4/40) May 03 2010 --
Highlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.059.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.044.zip Thanks to the many people who contributed to this update!
May 02 2010
Walter Bright <newshound1 digitalmars.com> wrote:Highlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.059.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.044.zip Thanks to the many people who contributed to this update!First! :p The future is ever Brighter. Thanks all! -- Simen
May 02 2010
On 03/05/10 09:28, Walter Bright wrote:Highlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.059.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.044.zip Thanks to the many people who contributed to this update!Unfortunately, GDB still doesn't work with it over here. Robert is going to try one of my test cases and see what he can see.
May 02 2010
Bernard Helyer wrote:Unfortunately, GDB still doesn't work with it over here. Robert is going to try one of my test cases and see what he can see.Good.
May 02 2010
On 03/05/10 11:40, Walter Bright wrote:Bernard Helyer wrote:I can't stop laughing. I assume you meant to trim that quote down some! *g*Unfortunately, GDB still doesn't work with it over here. Robert is going to try one of my test cases and see what he can see.Good.
May 02 2010
Bernard Helyer wrote:On 03/05/10 11:40, Walter Bright wrote:LOL, I meant good that Robert is working on it, not good that it doesn't work!Bernard Helyer wrote:I can't stop laughing. I assume you meant to trim that quote down some! *g*Unfortunately, GDB still doesn't work with it over here. Robert is going to try one of my test cases and see what he can see.Good.
May 02 2010
On 03/05/10 00:40, Walter Bright wrote:Bernard Helyer wrote:It seems changeset 451, your version of the fix, doesn't work... Despite me testing that it worked when you committed it :/ Reverting the change fixes the issue.Unfortunately, GDB still doesn't work with it over here. Robert is going to try one of my test cases and see what he can see.Good.
May 02 2010
Robert Clipsham wrote:It seems changeset 451, your version of the fix, doesn't work... Despite me testing that it worked when you committed it :/ Reverting the change fixes the issue.Any ideas why?
May 02 2010
On 03/05/10 00:59, Walter Bright wrote:Any ideas why?dwarf.c:1525: infobuf->write32(*++pparamidx); // DW_AT_type *++pparamidx is 0 (and always seems to be). GDB doesn't like DW_AT_type being 0, if it has no type there shouldn't be a DW_AT_type at all. This said, that code looks wrong, as *++pparamidx is always 0 according to gdb, which it shouldn't be. Replacing it with the old code: unsigned x = dwarf_typidx(p->Ptype); infobuf->write32(x); // DW_AT_type Seems to work most of the time, but breaks when faced with: void function(void function(void function())) foobar; And other cases. Simplest solution seems to be to revert the change, but it's up to you what you do... As long as it's fixed I don't care how it's done :)
May 02 2010
Robert Clipsham wrote:And other cases. Simplest solution seems to be to revert the change, but it's up to you what you do... As long as it's fixed I don't care how it's done :)Dang, I found the problem. Working on a fix.
May 02 2010
Am 03.05.2010 01:29, schrieb Bernard Helyer:On 03/05/10 09:28, Walter Bright wrote:some got an D able GDB version for windows around?Highlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.059.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.044.zip Thanks to the many people who contributed to this update!Unfortunately, GDB still doesn't work with it over here. Robert is going to try one of my test cases and see what he can see.
May 02 2010
2.044 seems to work after some tests of mine.Many small improvements to error diagnostics and recovery<I'd like to see few examples of the difference.Now all unittests are run, even if some fail<I have tried to compile this with -unittest : int sqr(int x) { return x * 2; } unittest { assert(sqr(10) == 100); } unittest { assert(sqr(5) == 25); } void main() {} It contains two wrong unit tests, but dmd prints just about the first one, maybe I am missing something: test(3): unittest failure core.exception.AssertError test(3): unittest failure Bye, bearophile
May 02 2010
bearophile wrote:It contains two wrong unit tests, but dmd prints just about the first one, maybe I am missing something:Looks like I broke it with a last minute change. Sigh.
May 02 2010
bearophile wrote:It contains two wrong unit tests, but dmd prints just about the first one, maybe I am missing something: test(3): unittest failure core.exception.AssertError test(3): unittest failurechangeset 289 fixes it
May 02 2010
Any idea why the new dmd2 would print 2: to the console when compiling? My big website project for a client does that for most of the executables created, and when I made a typo in one of the functions, dmd went into an endless loop :S I haven't narrowed it down to something I can post yet. It might be related to the fact that I'm passing about a dozen files to the dmd command line all at once; I don't know. And I've gotta get back to work finishing this site, so I don't know when I'll have the time to track it down. I'll just stick to the last version for now.
May 02 2010
On 03/05/10 14:40, Adam Ruppe wrote:Any idea why the new dmd2 would print 2: to the console when compiling? My big website project for a client does that for most of the executables created, and when I made a typo in one of the functions, dmd went into an endless loop :S I haven't narrowed it down to something I can post yet. It might be related to the fact that I'm passing about a dozen files to the dmd command line all at once; I don't know. And I've gotta get back to work finishing this site, so I don't know when I'll have the time to track it down. I'll just stick to the last version for now.I've had the infinite loop thing, too. As well as the '2:' to ouput.
May 02 2010
Bernard Helyer wrote:I've had the infinite loop thing, too. As well as the '2:' to ouput.My fault, grr.
May 02 2010
bearophile wrote:It contains two wrong unit tests, but dmd prints just about the first one, maybe I am missing something: test(3): unittest failure core.exception.AssertError test(3): unittest failureHow about signing up for the beta mailing list?
May 02 2010
Walter Bright, el 2 de mayo a las 23:27 me escribiste:bearophile wrote:This is getting interesting, after all these years denying the need for a (public) beta release, you are now asking people to join the beta ML =D Don't get me wrong, I'm very happy that you are. I just hope your barrier to embrace a good idea is a little lower so it doesn't take that many years to convince you =P -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Si pudiera acercarme un poco más, hacia vos Te diría que me tiemblan los dos pies, cuando me mirás Si supieras todo lo que me costó, llegar Hoy sabrías que me cuesta respirar, cuando me mirásIt contains two wrong unit tests, but dmd prints just about the first one, maybe I am missing something: test(3): unittest failure core.exception.AssertError test(3): unittest failureHow about signing up for the beta mailing list?
May 03 2010
D is getting better and better. On Mon, May 3, 2010 at 5:28 AM, Walter Bright <newshound1 digitalmars.com>wrote:Highlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.059.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.044.zip Thanks to the many people who contributed to this update!-- -Arth
May 02 2010
On Sun, 02 May 2010 14:28:25 -0700, Walter Bright wrote:Highlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.059.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.044.zip Thanks to the many people who contributed to this update!Great release. :) The unittest feature is my favourite this time. I see that the new std.complex has been included in this release, but also that mention of it was removed from the changelog. It's a breaking change, so it should be listed. Also, std.gregorian made it into this release, but is not mentioned in the changelog. -Lars
May 03 2010
On 5/2/10 23:28, Walter Bright wrote:Highlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.059.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.044.zip Thanks to the many people who contributed to this update!If anyone cares, the release tags don't match, they are 1.058 and 2.043.
May 03 2010
Please check the download page again. I think they're fixing something in the current release. On Mon, May 3, 2010 at 5:30 PM, Jacob Carlborg <doob me.com> wrote:On 5/2/10 23:28, Walter Bright wrote:-- -ArthHighlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.059.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.044.zip Thanks to the many people who contributed to this update!If anyone cares, the release tags don't match, they are 1.058 and 2.043.
May 03 2010
On 5/3/10 12:53, Arth Lloyd Flores wrote:Please check the download page again. I think they're fixing something in the current release. On Mon, May 3, 2010 at 5:30 PM, Jacob Carlborg <doob me.com <mailto:doob me.com>> wrote: On 5/2/10 23:28, Walter Bright wrote: Highlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.059.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.044.zip Thanks to the many people who contributed to this update! If anyone cares, the release tags don't match, they are 1.058 and 2.043. -- -ArthI was referring to changeset 464 and 465 which say "release 1.058" and "release 2.043". http://www.dsource.org/projects/dmd/changeset/464
May 03 2010
Oh I see I'm sorry for misunderstanding. On Mon, May 3, 2010 at 8:39 PM, Jacob Carlborg <doob me.com> wrote:On 5/3/10 12:53, Arth Lloyd Flores wrote:-- -ArthPlease check the download page again. I think they're fixing something in the current release. On Mon, May 3, 2010 at 5:30 PM, Jacob Carlborg <doob me.com <mailto:doob me.com>> wrote: On 5/2/10 23:28, Walter Bright wrote: Highlights are the improved gdb support, better error messages, better json support, unittest changes, and a number of nuisance compiler bugs fixed. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.059.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.044.zip Thanks to the many people who contributed to this update! If anyone cares, the release tags don't match, they are 1.058 and 2.043. -- -ArthI was referring to changeset 464 and 465 which say "release 1.058" and "release 2.043". http://www.dsource.org/projects/dmd/changeset/464
May 03 2010