Thread overview
DWT & Tango 0.99.6 & DMD 1.029
Apr 28, 2008
Bill Baxter
Apr 28, 2008
davidl
Apr 28, 2008
Bill Baxter
Apr 28, 2008
Mike James
Apr 28, 2008
Frank Benoit
Apr 28, 2008
Frank Benoit
May 01, 2008
arnaud
May 04, 2008
Frank Benoit
April 28, 2008
Anyone had a chance to see if this combo works out of the box?

The new DMD is supposed to fix those wrong vtable calls that were requiring tango patches to work around.

--bb
April 28, 2008
在 Mon, 28 Apr 2008 08:46:50 +0800,Bill Baxter <dnewsgroup@billbaxter.com> 写道:

> Anyone had a chance to see if this combo works out of the box?
>
> The new DMD is supposed to fix those wrong vtable calls that were requiring tango patches to work around.
>
> --bb

I would think you're the right guy to have the test ;)

-- 
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
April 28, 2008
davidl wrote:
> 在 Mon, 28 Apr 2008 08:46:50 +0800,Bill Baxter <dnewsgroup@billbaxter.com> 写道:
> 
>> Anyone had a chance to see if this combo works out of the box?
>>
>> The new DMD is supposed to fix those wrong vtable calls that were requiring tango patches to work around.
>>
>> --bb
> 
> I would think you're the right guy to have the test ;)
> 

Heh.  I've just got a deadline, so no playing around with installing new toys for me right now.  Next week I should be able to give it a try if no one else does before then.

--bb
April 28, 2008
Bill Baxter Wrote:

> davidl wrote:
> > 在 Mon, 28 Apr 2008 08:46:50 +0800,Bill Baxter <dnewsgroup@billbaxter.com> 写道:
> > 
> >> Anyone had a chance to see if this combo works out of the box?
> >>
> >> The new DMD is supposed to fix those wrong vtable calls that were requiring tango patches to work around.
> >>
> >> --bb
> > 
> > I would think you're the right guy to have the test ;)
> > 
> 
> Heh.  I've just got a deadline, so no playing around with installing new toys for me right now.  Next week I should be able to give it a try if no one else does before then.
> 
> --bb

As A quick test I have the latest DMD and Tango - this is the result of trying to build dwt-win...

simple.d => simple
+ c:\dmd\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -Ic:\dmd\include\d -Sc:\dmd\lib\  -Ic:\dmd\include\d -Sc:\dmd\lib  -oq
dsss_objs\D  simple.d -ofsimple
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
dsss_objs\D\dwt-widgets-Display.obj(dwt-widgets-Display)
 Error 42: Symbol Undefined _IsHungAppWindow@4
dsss_objs\D\dwt-internal-win32-OS.obj(dwt-internal-win32-OS)
 Error 42: Symbol Undefined _GetSystemDefaultUILanguage@0
--- errorlevel 2
Command c:\dmd\bin\rebuild.exe returned with code -1, aborting. Error: Command failed, aborting.

Regards, Mike.

April 28, 2008
Mike James schrieb:
> simple.d => simple
> + c:\dmd\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -Ic:\dmd\include\d -Sc:\dmd\lib\  -Ic:\dmd\include\d -Sc:\dmd\lib  -oq
> dsss_objs\D  simple.d -ofsimple
> OPTLINK (R) for Win32  Release 8.00.1
> Copyright (C) Digital Mars 1989-2004  All rights reserved.
> dsss_objs\D\dwt-widgets-Display.obj(dwt-widgets-Display)
>  Error 42: Symbol Undefined _IsHungAppWindow@4
> dsss_objs\D\dwt-internal-win32-OS.obj(dwt-internal-win32-OS)
>  Error 42: Symbol Undefined _GetSystemDefaultUILanguage@0
> --- errorlevel 2
> Command c:\dmd\bin\rebuild.exe returned with code -1, aborting.
> Error: Command failed, aborting.
> 
> Regards, Mike.
> 

This is no specific problem for dmd 1.029.
See http://www.dsource.org/projects/dwt/wiki/FAQ#Linkererroronwindows
April 28, 2008
Bill Baxter schrieb:
> davidl wrote:
>> 在 Mon, 28 Apr 2008 08:46:50 +0800,Bill Baxter <dnewsgroup@billbaxter.com> 写道:
>>
>>> Anyone had a chance to see if this combo works out of the box?
>>>
>>> The new DMD is supposed to fix those wrong vtable calls that were requiring tango patches to work around.
>>>
>>> --bb
>>
>> I would think you're the right guy to have the test ;)
>>
> 
> Heh.  I've just got a deadline, so no playing around with installing new toys for me right now.  Next week I should be able to give it a try if no one else does before then.
> 
> --bb

I did a test on linux.
The bugfix #1978 did fix the runtime call, but the tango collection give now forward reference error. The workaround fixes for the #1978 are still necessary to fixes this new forward ref error.
I was too lazy to spent another couple of hours to create a bug report. Instead i commited a change to tango collections, but this was too late for the 0.99.6 release.

DMD 1.029 has another new problem with anonymous classes. I had segmentation faults in dwt/custom/TreeEditor.d line 134. This commit works around it:
http://www.dsource.org/projects/dwt-linux/changeset/237%3A98b80b00af79
Again i was too lazy for a bug report, sorry :/
Probably this problem exists in several places.

May 01, 2008
Bill Baxter a écrit :
> Anyone had a chance to see if this combo works out of the box?
> 
> The new DMD is supposed to fix those wrong vtable calls that were requiring tango patches to work around.
> 
> --bb
All dwt-samples have some problems with DMD 1.029 when you press a button. Would'nt that be a problem with anonymous class?
May 04, 2008
arnaud schrieb:
> Bill Baxter a écrit :
>> Anyone had a chance to see if this combo works out of the box?
>>
>> The new DMD is supposed to fix those wrong vtable calls that were requiring tango patches to work around.
>>
>> --bb
> All dwt-samples have some problems with DMD 1.029 when you press a button. Would'nt that be a problem with anonymous class?

yes, see this bug-report:
http://d.puremagic.com/issues/show_bug.cgi?id=2067