View previous topic :: View next topic |
Author |
Message |
Rob86TA
Joined: 15 Feb 2006 Posts: 6
|
Posted: Wed Feb 15, 2006 3:20 pm Post subject: Building DWT |
|
|
I've got the newest DMD 0.146, but I can't build DWT. Is it because of compiler changes? Should I downgrade the compiler, or is DWT being updated?
I get a tonne of errors:
Code: | C:\dmd\dwt\import>build -release -clean -inline -w -lib -full -allobj dwt\all.d
-T..\lib\dwt.lib -version=OLE_COM -version=DRAG_DROP
dwt\internal\win32\wintypes.d(1652): & has no effect in expression (cast(int)(th
is.BITS) & 240)
dwt\dnd\filetransfer.d(131): no property 'unionField' for type 'uSTGMEDIUM'
dwt\dnd\filetransfer.d(131): constant ((transferData).stgmedium).unionField is n
ot an lvalue
dwt\dnd\filetransfer.d(131): cannot implicitly convert expression (newPtr) of ty
pe void* to int
dwt\dnd\filetransfer.d(132): cannot implicitly convert expression (0) of type in
t to std.c.windows.com.IUnknown |
And it goes on for a couple screens.... |
|
Back to top |
|
|
DRobert
Joined: 15 Feb 2006 Posts: 1
|
Posted: Wed Feb 15, 2006 9:49 pm Post subject: |
|
|
I have the same problem with dwt-win32-0.35-20060203. What should I do to finish the building?
Code: | D:\DLang\dmd\dwt\import>build -debug -g -unittest -clean -w -lib -full -allobj d
wt\all.d -T..\lib\dwtd.lib -version=OLE_COM -version=DRAG_DROP
dwt\internal\win32\wintypes.d(1673): & has no effect in expression (cast(int)(th
is.BITS) & 240)
dwt\ole\win32\olecontrolsite.d(749): undefined identifier TVector!(...).remove
dwt\ole\win32\olecontrolsite.d(749): function expected before (), not TVector!(.
..).remove of type void
dwt\ole\win32\olecontrolsite.d(750): undefined identifier TVector!(GUID*).remove
dwt\ole\win32\olecontrolsite.d(750): function expected before (), not TVector!(G
UID*).remove of type void
dwt\ole\win32\olecontrolsite.d(751): undefined identifier TVector!(IUnknown).rem
ove
dwt\ole\win32\olecontrolsite.d(751): function expected before (), not TVector!(I
Unknown).remove of type void |
|
|
Back to top |
|
|
Rob86TA
Joined: 15 Feb 2006 Posts: 6
|
Posted: Wed Feb 15, 2006 9:59 pm Post subject: |
|
|
It's 0.146, everything compiles fine with 0.145.
Looks like the fixes to templates have broken the current source. |
|
Back to top |
|
|
Rob86TA
Joined: 15 Feb 2006 Posts: 6
|
Posted: Wed Feb 15, 2006 11:52 pm Post subject: |
|
|
UPDATE: Still broken in 0.147 |
|
Back to top |
|
|
Shawn Liu
Joined: 09 Mar 2005 Posts: 104 Location: Shanghai, China
|
|
Back to top |
|
|
Rob86TA
Joined: 15 Feb 2006 Posts: 6
|
Posted: Thu Feb 16, 2006 10:56 am Post subject: |
|
|
Thanks Shawn!
I'm having a good look through the source just to see what you've done. If I can get a decent block of time, I'd love to help out. Either cleaning up the source, optimising or whatever.
I'd throw my hat in to help JJR write a GTK linux port, but I'm going to have a hard time finding THAT much free time. |
|
Back to top |
|
|
|