October 13, 2009 Re: dmd 1.049 and 2.034 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Moritz Warning | On 2009-10-13 01:56:11 +0200, Moritz Warning <moritzwarning@web.de> said: > On Mon, 12 Oct 2009 19:29:06 -0400, Nick Sabalausky wrote: > >> "Moritz Warning" <moritzwarning@web.de> wrote in message >> news:hb01mo$23g5$1@digitalmars.com... >>> On Mon, 12 Oct 2009 15:53:28 -0400, Nick Sabalausky wrote: >>> >>>> "Moritz Warning" <moritzwarning@web.de> wrote in message >>>> news:havc43$9av$1@digitalmars.com... >>>>> On Sun, 11 Oct 2009 21:43:36 -0700, Walter Bright wrote: >>>>> >>> [..] >>>> If you're using tango trunk, >>>> then I don't know what the problem is either... >>> >>> It's trunk. >> >> Maybe this?: >> http://www.dsource.org/projects/tango/forums/topic/809 > > No, this is the first error: > > /home/mwarning/trunk/build/runtime/../../runtime/common/tango/core/ > Thread.d(659): Error: e2ir: cannot cast from tango.core.Thread.Thread to > void* > /home/mwarning/trunk/build/runtime/../../runtime/common/tango/core/ > Thread.d(659): Error: e2ir: cannot cast from tango.core.Thread.Thread to > void* > > Though, these cases work: > > class Foo{} > Foo foo = new Foo(); > auto x = cast(void*) foo; > > A{ void* x(){ return cast(void*)this; } } yet that is a strange error, I was not really able to reduce it, on one side it is clearly a compiler error (it does not allow cast(void*)this which is valid), on the other all smaller cases that I could think of seem to work... submitted it as http://d.puremagic.com/issues/show_bug.cgi?id=3392 Fawzi |
October 13, 2009 Re: dmd 1.049 and 2.034 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | > http://www.digitalmars.com/d/2.0/changelog.html
The link within "Download latest D 2.0 alpha D compiler for Win32 and x86 linux" is still pointing to 2.027.
Ali
|
October 13, 2009 Re: dmd 1.049 and 2.034 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | Rainer Schuetze wrote:
> Hi,
>
> the problem is related to a change that was probably done to improve
>
> http://d.puremagic.com/issues/show_bug.cgi?id=1170
>
> see my comments there for more details.
I checked into svn a compiler change folding in your patch. Can you try it out with QtD?
|
October 14, 2009 Re: dmd 1.049 and 2.034 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright, el 13 de octubre a las 14:16 me escribiste: > Rainer Schuetze wrote: > >Hi, > > > >the problem is related to a change that was probably done to improve > > > >http://d.puremagic.com/issues/show_bug.cgi?id=1170 > > > >see my comments there for more details. > > I checked into svn a compiler change folding in your patch. Can you try it out with QtD? Thanks for the small commits :) BTW, unless you're planning to skip DMD 2.035, I think you increased the DMD 2 version accidentally to 2.036 ;) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Yeah, I'm a great quitter. It's one of the few things I do well. I come from a long line of quitters. My father was a quitter, my grandfather was a quitter... I was raised to give up. -- George Constanza |
October 14, 2009 Re: dmd 1.049 and 2.034 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright Wrote:
> Rainer Schuetze wrote:
> > Hi,
> >
> > the problem is related to a change that was probably done to improve
> >
> > http://d.puremagic.com/issues/show_bug.cgi?id=1170
> >
> > see my comments there for more details.
>
> I checked into svn a compiler change folding in your patch. Can you try it out with QtD?
I commented on this in the bugzilla on #1170, that I tested QtD with dmd rev 205 yesterday, and it compiles fine.
Thank you for separate commits!
|
Copyright © 1999-2021 by the D Language Foundation