Jump to page: 1 2 3
Thread overview
DWT Build problems with DMD 0.153
Apr 12, 2006
DBloke
Apr 12, 2006
Kyle Furlong
Apr 12, 2006
DBloke
Alternative GUI frameworks - Re: DWT Build problems with DMD 0.153
Apr 13, 2006
Chris Miller
Apr 13, 2006
DBloke
Apr 13, 2006
DBloke
Apr 13, 2006
Derek Parnell
Apr 13, 2006
DBloke
Apr 13, 2006
Charles
Apr 15, 2006
unknown
Apr 18, 2006
DBloke
Apr 18, 2006
Brad Anderson
Apr 18, 2006
DBloke
Apr 18, 2006
Derek Parnell
Apr 19, 2006
DBloke
Apr 19, 2006
Derek Parnell
Apr 19, 2006
DBloke
Apr 20, 2006
DBloke
May 25, 2006
Derek Parnell
Apr 19, 2006
DBloke
Apr 14, 2006
Shawn Liu
Apr 17, 2006
DBloke
Apr 17, 2006
pragma
April 12, 2006
Hi,
Been trying to build DWT with latest DMD and latest DWT an Build

Running Windows XP SP2 below is output of error

deleting old intermediate files ...

C:\dmd\dwt\import>del *.obj *.map *.rsp *.lsp *.ksp *.def /s /q
Build release version ...

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\custom\styledtext.d(294): identifier expected following '.', not 'scope'
dwt\custom\styledtext.d(304): identifier expected following '.', not 'scope'
dwt\custom\styledtext.d(532): identifier expected following '.', not 'scope'
dwt\custom\styledtext.d(536): identifier expected following '.', not 'scope'
dwt\printing\printerdata.d(63): no identifier for declarator int
dwt\printing\printerdata.d(63): semicolon expected, not 'scope'
dwt\printing\printerdata.d(63): Declaration expected, not 'scope'
dwt\printing\printdialog.d(42): no identifier for declarator int
dwt\printing\printdialog.d(42): semicolon expected, not 'scope'
dwt\printing\printdialog.d(42): Declaration expected, not 'scope'
dwt\printing\printdialog.d(147): expression expected, not 'scope'
dwt\printing\printdialog.d(165): found 'scope' when expecting ')'
dwt\printing\printdialog.d(165): semicolon expected following function declaration
dwt\printing\printdialog.d(165): Declaration expected, not ')'
dwt\printing\printdialog.d(270): expression expected, not 'scope'
dwt\printing\printdialog.d(338): identifier expected following '.', not 'scope'
dwt\printing\printdialog.d(342): identifier expected following '.', not 'scope'
dwt\printing\printdialog.d(359): found '=' when expecting '('
dwt\printing\printdialog.d(359): valid scope identifiers are exit, failure, or success, not data
dwt\printing\printdialog.d(359): found '.' when expecting ')'
dwt\printing\printdialog.d(359): found ';' when expecting '('
-----------------------------------------
Build debug version ...

C:\dmd\dwt\import>build -debug -g -unittest -clean -w -lib -full -allobj dwt\all.d -T..\lib\dwtd.lib  -version=OLE_COM -version=DRAG_DROP
dwt\custom\styledtext.d(294): identifier expected following '.', not 'scope'
dwt\custom\styledtext.d(304): identifier expected following '.', not 'scope'
dwt\custom\styledtext.d(532): identifier expected following '.', not 'scope'
dwt\custom\styledtext.d(536): identifier expected following '.', not 'scope'
dwt\printing\printerdata.d(63): no identifier for declarator int
dwt\printing\printerdata.d(63): semicolon expected, not 'scope'
dwt\printing\printerdata.d(63): Declaration expected, not 'scope'
dwt\printing\printdialog.d(42): no identifier for declarator int
dwt\printing\printdialog.d(42): semicolon expected, not 'scope'
dwt\printing\printdialog.d(42): Declaration expected, not 'scope'
dwt\printing\printdialog.d(147): expression expected, not 'scope'
dwt\printing\printdialog.d(165): found 'scope' when expecting ')'
dwt\printing\printdialog.d(165): semicolon expected following function declaration
dwt\printing\printdialog.d(165): Declaration expected, not ')'
dwt\printing\printdialog.d(270): expression expected, not 'scope'
dwt\printing\printdialog.d(338): identifier expected following '.', not 'scope'
dwt\printing\printdialog.d(342): identifier expected following '.', not 'scope'
dwt\printing\printdialog.d(359): found '=' when expecting '('
dwt\printing\printdialog.d(359): valid scope identifiers are exit, failure, or success, not data
dwt\printing\printdialog.d(359): found '.' when expecting ')'
dwt\printing\printdialog.d(359): found ';' when expecting '('
-----------------------------------------
you may need to copy "dwt.lib" "dwtd.lib" to \dmd\lib

C:\dmd\dwt\import>pause
Press any key to continue . . .

dwt.lib or dwtd.lib are not built.

Is this a problem with new dmd compiler or something I am doing?

I edited the sc.ini file to reflect path where import is

[Version]
version=7.51 Build 020

[Environment]
LIB="%@P%\..\lib";\..\dm\lib
DFLAGS="-I%@P%\..\src\phobos;\..\..\dwt\import"
LINKCMD=%@P%\..\dm\bin\link.exe

Thanks in advance
April 12, 2006
DBloke wrote:
> Hi,
> Been trying to build DWT with latest DMD and latest DWT an Build
> 
> Running Windows XP SP2 below is output of error
> 
> deleting old intermediate files ...
> 
> C:\dmd\dwt\import>del *.obj *.map *.rsp *.lsp *.ksp *.def /s /q
> Build release version ...
> 
> 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\custom\styledtext.d(294): identifier expected following '.', not 'scope'
> dwt\custom\styledtext.d(304): identifier expected following '.', not 'scope'
> dwt\custom\styledtext.d(532): identifier expected following '.', not 'scope'
> dwt\custom\styledtext.d(536): identifier expected following '.', not 'scope'
> dwt\printing\printerdata.d(63): no identifier for declarator int
> dwt\printing\printerdata.d(63): semicolon expected, not 'scope'
> dwt\printing\printerdata.d(63): Declaration expected, not 'scope'
> dwt\printing\printdialog.d(42): no identifier for declarator int
> dwt\printing\printdialog.d(42): semicolon expected, not 'scope'
> dwt\printing\printdialog.d(42): Declaration expected, not 'scope'
> dwt\printing\printdialog.d(147): expression expected, not 'scope'
> dwt\printing\printdialog.d(165): found 'scope' when expecting ')'
> dwt\printing\printdialog.d(165): semicolon expected following function declaration
> dwt\printing\printdialog.d(165): Declaration expected, not ')'
> dwt\printing\printdialog.d(270): expression expected, not 'scope'
> dwt\printing\printdialog.d(338): identifier expected following '.', not 'scope'
> dwt\printing\printdialog.d(342): identifier expected following '.', not 'scope'
> dwt\printing\printdialog.d(359): found '=' when expecting '('
> dwt\printing\printdialog.d(359): valid scope identifiers are exit, failure, or success, not data
> dwt\printing\printdialog.d(359): found '.' when expecting ')'
> dwt\printing\printdialog.d(359): found ';' when expecting '('
> -----------------------------------------
> Build debug version ...
> 
> C:\dmd\dwt\import>build -debug -g -unittest -clean -w -lib -full -allobj dwt\all.d -T..\lib\dwtd.lib  -version=OLE_COM -version=DRAG_DROP
> dwt\custom\styledtext.d(294): identifier expected following '.', not 'scope'
> dwt\custom\styledtext.d(304): identifier expected following '.', not 'scope'
> dwt\custom\styledtext.d(532): identifier expected following '.', not 'scope'
> dwt\custom\styledtext.d(536): identifier expected following '.', not 'scope'
> dwt\printing\printerdata.d(63): no identifier for declarator int
> dwt\printing\printerdata.d(63): semicolon expected, not 'scope'
> dwt\printing\printerdata.d(63): Declaration expected, not 'scope'
> dwt\printing\printdialog.d(42): no identifier for declarator int
> dwt\printing\printdialog.d(42): semicolon expected, not 'scope'
> dwt\printing\printdialog.d(42): Declaration expected, not 'scope'
> dwt\printing\printdialog.d(147): expression expected, not 'scope'
> dwt\printing\printdialog.d(165): found 'scope' when expecting ')'
> dwt\printing\printdialog.d(165): semicolon expected following function declaration
> dwt\printing\printdialog.d(165): Declaration expected, not ')'
> dwt\printing\printdialog.d(270): expression expected, not 'scope'
> dwt\printing\printdialog.d(338): identifier expected following '.', not 'scope'
> dwt\printing\printdialog.d(342): identifier expected following '.', not 'scope'
> dwt\printing\printdialog.d(359): found '=' when expecting '('
> dwt\printing\printdialog.d(359): valid scope identifiers are exit, failure, or success, not data
> dwt\printing\printdialog.d(359): found '.' when expecting ')'
> dwt\printing\printdialog.d(359): found ';' when expecting '('
> -----------------------------------------
> you may need to copy "dwt.lib" "dwtd.lib" to \dmd\lib
> 
> C:\dmd\dwt\import>pause
> Press any key to continue . . .
> 
> dwt.lib or dwtd.lib are not built.
> 
> Is this a problem with new dmd compiler or something I am doing?
> 
> I edited the sc.ini file to reflect path where import is
> 
> [Version]
> version=7.51 Build 020
> 
> [Environment]
> LIB="%@P%\..\lib";\..\dm\lib
> DFLAGS="-I%@P%\..\src\phobos;\..\..\dwt\import"
> LINKCMD=%@P%\..\dm\bin\link.exe
> 
> Thanks in advance

Unfortunately, Shawn, the author and only maintainer of DWT, apparently has left it alone for a bit. The problem you are having is that it currently uses a variable named "scope" which has recently become a reserved word. If you do a search and replace to get rid of the offending variable name, you should be able to compile fine.
April 12, 2006
> Unfortunately, Shawn, the author and only maintainer of DWT, apparently has left it alone for a bit. The problem you are having is that it currently uses a variable named "scope" which has recently become a reserved word. If you do a search and replace to get rid of the offending variable name, you should be able to compile fine.

Thanks for tip, does this mean DWT is abandoned?
This is a shame D shows a lot of promise, and really needs a good RAD IDE to make it take off.

Any ideas for an alternative GUI framework?

DBloke

April 13, 2006
changed all instances of scope to pageRange and various other names but now get these compile errors

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
warning - dwt\ole\win32\variant.d(277): statement is not reachable
warning - dwt\ole\win32\variant.d(318): statement is not reachable
warning - dwt\ole\win32\variant.d(354): statement is not reachable
warning - dwt\ole\win32\variant.d(458): statement is not reachable
warning - dwt\ole\win32\variant.d(494): statement is not reachable
warning - dwt\ole\win32\variant.d(529): statement is not reachable
warning - dwt\ole\win32\variant.d(566): statement is not reachable
warning - dwt\ole\win32\variant.d(618): statement is not reachable
dwt\ole\win32\oleframe.d(587): template instance cannot resolve forward reference
dwt\ole\win32\oleframe.d(587): Vector!(Integer) is used as a type
dwt\ole\win32\oleframe.d(587): variable dwt.ole.win32.oleframe.OleFrame.RemoveMenus.ids voids have no value
dwt\ole\win32\oleframe.d(587): template instance cannot resolve forward reference
dwt\ole\win32\oleframe.d(587): Vector!(Integer) is used as a type
dwt\ole\win32\oleframe.d(587): new can only create structs, dynamic arrays or class objects, not void's
dwt\ole\win32\oleframe.d(587): cannot implicitly convert expression (new Vector!(Integer)) of type void* to int
dwt\ole\win32\oleframe.d(595): no property 'addElement' for type 'int'
dwt\ole\win32\oleframe.d(595): function expected before (), not 1 of type int
dwt\ole\win32\oleframe.d(605): no property 'addElement' for type 'int'
dwt\ole\win32\oleframe.d(605): function expected before (), not 1 of type int
dwt\ole\win32\oleframe.d(615): no property 'addElement' for type 'int'
dwt\ole\win32\oleframe.d(615): function expected before (), not 1 of type int
dwt\ole\win32\oleframe.d(622): no property 'contains' for type 'int'
dwt\ole\win32\oleframe.d(622): function expected before (), not 1 of type int
dwt\ole\win32\olecontrolsite.d(749): undefined identifier TVector!(OleEventSink).remove
dwt\ole\win32\olecontrolsite.d(749): function expected before (), not TVector!(OleEventSink).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!(GUID*).remove of type void
dwt\ole\win32\olecontrolsite.d(751): undefined identifier TVector!(IUnknown).remove
dwt\ole\win32\olecontrolsite.d(751): function expected before (), not TVector!(IUnknown).remove of type void
dwt\widgets\table.d(625): undefined identifier TVector!(TableColumn).insert
dwt\widgets\table.d(625): function expected before (), not TVector!(TableColumn).insert of type void
dwt\widgets\table.d(854): undefined identifier TVector!(TableColumn).indexOf
dwt\widgets\table.d(854): function expected before (), not TVector!(TableColumn).indexOf of type void
dwt\widgets\table.d(902): undefined identifier TVector!(TableColumn).remove
dwt\widgets\table.d(902): function expected before (), not TVector!(TableColumn).remove of type void
dwt\widgets\table.d(1556): undefined identifier TVector!(TableColumn).indexOf
dwt\widgets\table.d(1556): function expected before (), not TVector!(TableColumn).indexOf of type void
dwt\browser\browser.d(557): undefined identifier TVector!(CloseWindowListener).remove
dwt\browser\browser.d(557): function expected before (), not TVector!(CloseWindowListener).remove of type void
dwt\browser\browser.d(579): undefined identifier TVector!(LocationListener).remove
dwt\browser\browser.d(579): function expected before (), not TVector!(LocationListener).remove of type void
dwt\browser\browser.d(601): undefined identifier TVector!(OpenWindowListener).remove
dwt\browser\browser.d(601): function expected before (), not TVector!(OpenWindowListener).remove of type void
dwt\browser\browser.d(623): undefined identifier TVector!(ProgressListener).remove
dwt\browser\browser.d(623): function expected before (), not TVector!(ProgressListener).remove of type void
dwt\browser\browser.d(645): undefined identifier TVector!(StatusTextListener).remove
dwt\browser\browser.d(645): function expected before (), not TVector!(StatusTextListener).remove of type void
dwt\browser\browser.d(667): undefined identifier TVector!(TitleListener).remove
dwt\browser\browser.d(667): function expected before (), not TVector!(TitleListener).remove of type void
dwt\browser\browser.d(689): undefined identifier TVector!(VisibilityWindowListener).remove
dwt\browser\browser.d(689): function expected before (), not TVector!(VisibilityWindowListener).remove of type void
warning - dwt\dnd\rtftransfer.d(147): statement is not reachable
dwt\custom\styledtexthelper.d(710): template instance cannot resolve forward reference
dwt\custom\styledtexthelper.d(710): Vector!(StyleRange) is used as a type
dwt\custom\styledtexthelper.d(710): variable dwt.custom.styledtexthelper.DefaultLineStyler.lineGetStyle.lineStyles voids have no value
dwt\custom\styledtexthelper.d(710): template instance cannot resolve forward reference
dwt\custom\styledtexthelper.d(710): Vector!(StyleRange) is used as a type
dwt\custom\styledtexthelper.d(710): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtexthelper.d(710): cannot implicitly convert expression (new Vector!(StyleRange)) of type void* to int
dwt\custom\styledtexthelper.d(725): no property 'addElement' for type 'int'
dwt\custom\styledtexthelper.d(725): function expected before (), not 1 of type int
dwt\custom\styledtexthelper.d(729): no property 'values' for type 'int'
dwt\custom\styledtexthelper.d(729): no property 'dup' for type 'int'
dwt\custom\styledtexthelper.d(729): cannot implicitly convert expression (1) of type int to StyleRange[]
dwt\custom\styledtexthelper.d(729): cannot cast int to StyleRange[]
dwt\custom\styledtexthelper.d(1734): template instance cannot resolve forward reference
dwt\custom\styledtexthelper.d(1734): Vector!(StyledTextListener) is used as a type
dwt\custom\styledtexthelper.d(1734): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtexthelper.d(1734): cannot implicitly convert expression (new Vector!(StyledTextListener)) of type void* to dwt.util.vector.Vector!(StyledTextListener).Vector
dwt\custom\styledtexthelper.d(1751): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(1751): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtexthelper.d(1778): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(1778): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtexthelper.d(1949): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(1949): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtexthelper.d(2367): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(2367): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\util\vector.d(262): undefined identifier TVector!(T).insert
dwt\util\vector.d(262): function expected before (), not TVector!(T).insert of type void
dwt\util\vector.d(304): undefined identifier TVector!(T).remove
dwt\util\vector.d(304): function expected before (), not TVector!(T).remove of type void
dwt\util\vector.d(309): undefined identifier TVector!(T).remove
dwt\util\vector.d(309): function expected before (), not TVector!(T).remove of type void
dwt\util\vector.d(309): cannot implicitly convert expression (TVector!(T).remove((this._values),(index))) of type int to dwt.custom.styledtexthelper.StyledTextListener
dwt\custom\styledtexthelper.d(3532): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(3532): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtexthelper.d(3804): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(3804): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtexthelper.d(3878): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(3878): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtext.d(283): template instance cannot resolve forward reference
dwt\custom\styledtext.d(283): Hashtable!(Integer,StyledTextEvent) is used as a type
dwt\custom\styledtext.d(283): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(283): cannot implicitly convert expression (new Hashtable!(Integer,StyledTextEvent)) of type void* to dwt.util.hashtable.Hashtable!(Integer,StyledTextEvent).Hashtable
dwt\custom\styledtext.d(284): template instance cannot resolve forward reference
dwt\custom\styledtext.d(284): Hashtable!(Integer,StyledTextEvent) is used as a type
dwt\custom\styledtext.d(284): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(284): cannot implicitly convert expression (new Hashtable!(Integer,StyledTextEvent)) of type void* to dwt.util.hashtable.Hashtable!(Integer,StyledTextEvent).Hashtable
dwt\custom\styledtext.d(285): template instance cannot resolve forward reference
dwt\custom\styledtext.d(285): Hashtable!(Integer,int[]) is used as a type
dwt\custom\styledtext.d(285): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(285): cannot implicitly convert expression (new Hashtable!(Integer,int[])) of type void* to dwt.util.hashtable.Hashtable!(Integer,int[]).Hashtable
dwt\custom\styledtext.d(428): template instance cannot resolve forward reference
dwt\custom\styledtext.d(428): Hashtable!(Color,Color) is used as a type
dwt\custom\styledtext.d(428): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(428): cannot implicitly convert expression (new Hashtable!(Color,Color)) of type void* to dwt.util.hashtable.Hashtable!(Color,Color).Hashtable
dwt\custom\styledtext.d(743): template instance cannot resolve forward reference
dwt\custom\styledtext.d(743): Vector!(Color) is used as a type
dwt\custom\styledtext.d(743): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(743): cannot implicitly convert expression (new Vector!(Color)) of type void* to dwt.util.vector.Vector!(Color).Vector
dwt\util\vector.d(262): undefined identifier TVector!(T).insert
dwt\util\vector.d(262): function expected before (), not TVector!(T).insert of type void
dwt\util\vector.d(304): undefined identifier TVector!(T).remove
dwt\util\vector.d(304): function expected before (), not TVector!(T).remove of type void
dwt\util\vector.d(309): undefined identifier TVector!(T).remove
dwt\util\vector.d(309): function expected before (), not TVector!(T).remove of type void
dwt\util\vector.d(309): cannot implicitly convert expression (TVector!(T).remove((this._values),(index))) of type int to dwt.graphics.color.Color
dwt\custom\styledtext.d(1693): template instance cannot resolve forward reference
dwt\custom\styledtext.d(1693): Hashtable!(Integer,Integer) is used as a type
dwt\custom\styledtext.d(1693): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(1693): cannot implicitly convert expression (new Hashtable!(Integer,Integer)) of type void* to dwt.util.hashtable.Hashtable!(Integer,Integer).Hashtable
-----------------------------------------
Build debug version ...

C:\dmd\dwt\import>build -debug -g -unittest -clean -w -lib -full -allobj dwt\all.d -T..\lib\dwtd.lib  -version=OLE_COM -version=DRAG_DROP
warning - dwt\ole\win32\variant.d(277): statement is not reachable
warning - dwt\ole\win32\variant.d(318): statement is not reachable
warning - dwt\ole\win32\variant.d(354): statement is not reachable
warning - dwt\ole\win32\variant.d(458): statement is not reachable
warning - dwt\ole\win32\variant.d(494): statement is not reachable
warning - dwt\ole\win32\variant.d(529): statement is not reachable
warning - dwt\ole\win32\variant.d(566): statement is not reachable
warning - dwt\ole\win32\variant.d(618): statement is not reachable
dwt\ole\win32\oleframe.d(587): template instance cannot resolve forward reference
dwt\ole\win32\oleframe.d(587): Vector!(Integer) is used as a type
dwt\ole\win32\oleframe.d(587): variable dwt.ole.win32.oleframe.OleFrame.RemoveMenus.ids voids have no value
dwt\ole\win32\oleframe.d(587): template instance cannot resolve forward reference
dwt\ole\win32\oleframe.d(587): Vector!(Integer) is used as a type
dwt\ole\win32\oleframe.d(587): new can only create structs, dynamic arrays or class objects, not void's
dwt\ole\win32\oleframe.d(587): cannot implicitly convert expression (new Vector!(Integer)) of type void* to int
dwt\ole\win32\oleframe.d(595): no property 'addElement' for type 'int'
dwt\ole\win32\oleframe.d(595): function expected before (), not 1 of type int
dwt\ole\win32\oleframe.d(605): no property 'addElement' for type 'int'
dwt\ole\win32\oleframe.d(605): function expected before (), not 1 of type int
dwt\ole\win32\oleframe.d(615): no property 'addElement' for type 'int'
dwt\ole\win32\oleframe.d(615): function expected before (), not 1 of type int
dwt\ole\win32\oleframe.d(622): no property 'contains' for type 'int'
dwt\ole\win32\oleframe.d(622): function expected before (), not 1 of type int
dwt\ole\win32\olecontrolsite.d(749): undefined identifier TVector!(OleEventSink).remove
dwt\ole\win32\olecontrolsite.d(749): function expected before (), not TVector!(OleEventSink).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!(GUID*).remove of type void
dwt\ole\win32\olecontrolsite.d(751): undefined identifier TVector!(IUnknown).remove
dwt\ole\win32\olecontrolsite.d(751): function expected before (), not TVector!(IUnknown).remove of type void
dwt\widgets\table.d(625): undefined identifier TVector!(TableColumn).insert
dwt\widgets\table.d(625): function expected before (), not TVector!(TableColumn).insert of type void
dwt\widgets\table.d(854): undefined identifier TVector!(TableColumn).indexOf
dwt\widgets\table.d(854): function expected before (), not TVector!(TableColumn).indexOf of type void
dwt\widgets\table.d(902): undefined identifier TVector!(TableColumn).remove
dwt\widgets\table.d(902): function expected before (), not TVector!(TableColumn).remove of type void
dwt\widgets\table.d(1556): undefined identifier TVector!(TableColumn).indexOf
dwt\widgets\table.d(1556): function expected before (), not TVector!(TableColumn).indexOf of type void
dwt\browser\browser.d(557): undefined identifier TVector!(CloseWindowListener).remove
dwt\browser\browser.d(557): function expected before (), not TVector!(CloseWindowListener).remove of type void
dwt\browser\browser.d(579): undefined identifier TVector!(LocationListener).remove
dwt\browser\browser.d(579): function expected before (), not TVector!(LocationListener).remove of type void
dwt\browser\browser.d(601): undefined identifier TVector!(OpenWindowListener).remove
dwt\browser\browser.d(601): function expected before (), not TVector!(OpenWindowListener).remove of type void
dwt\browser\browser.d(623): undefined identifier TVector!(ProgressListener).remove
dwt\browser\browser.d(623): function expected before (), not TVector!(ProgressListener).remove of type void
dwt\browser\browser.d(645): undefined identifier TVector!(StatusTextListener).remove
dwt\browser\browser.d(645): function expected before (), not TVector!(StatusTextListener).remove of type void
dwt\browser\browser.d(667): undefined identifier TVector!(TitleListener).remove
dwt\browser\browser.d(667): function expected before (), not TVector!(TitleListener).remove of type void
dwt\browser\browser.d(689): undefined identifier TVector!(VisibilityWindowListener).remove
dwt\browser\browser.d(689): function expected before (), not TVector!(VisibilityWindowListener).remove of type void
warning - dwt\dnd\rtftransfer.d(147): statement is not reachable
dwt\custom\styledtexthelper.d(710): template instance cannot resolve forward reference
dwt\custom\styledtexthelper.d(710): Vector!(StyleRange) is used as a type
dwt\custom\styledtexthelper.d(710): variable dwt.custom.styledtexthelper.DefaultLineStyler.lineGetStyle.lineStyles voids have no value
dwt\custom\styledtexthelper.d(710): template instance cannot resolve forward reference
dwt\custom\styledtexthelper.d(710): Vector!(StyleRange) is used as a type
dwt\custom\styledtexthelper.d(710): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtexthelper.d(710): cannot implicitly convert expression (new Vector!(StyleRange)) of type void* to int
dwt\custom\styledtexthelper.d(725): no property 'addElement' for type 'int'
dwt\custom\styledtexthelper.d(725): function expected before (), not 1 of type int
dwt\custom\styledtexthelper.d(729): no property 'values' for type 'int'
dwt\custom\styledtexthelper.d(729): no property 'dup' for type 'int'
dwt\custom\styledtexthelper.d(729): cannot implicitly convert expression (1) of type int to StyleRange[]
dwt\custom\styledtexthelper.d(729): cannot cast int to StyleRange[]
dwt\custom\styledtexthelper.d(1734): template instance cannot resolve forward reference
dwt\custom\styledtexthelper.d(1734): Vector!(StyledTextListener) is used as a type
dwt\custom\styledtexthelper.d(1734): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtexthelper.d(1734): cannot implicitly convert expression (new Vector!(StyledTextListener)) of type void* to dwt.util.vector.Vector!(StyledTextListener).Vector
dwt\custom\styledtexthelper.d(1751): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(1751): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtexthelper.d(1778): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(1778): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtexthelper.d(1949): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(1949): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtexthelper.d(2367): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(2367): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\util\vector.d(262): undefined identifier TVector!(T).insert
dwt\util\vector.d(262): function expected before (), not TVector!(T).insert of type void
dwt\util\vector.d(304): undefined identifier TVector!(T).remove
dwt\util\vector.d(304): function expected before (), not TVector!(T).remove of type void
dwt\util\vector.d(309): undefined identifier TVector!(T).remove
dwt\util\vector.d(309): function expected before (), not TVector!(T).remove of type void
dwt\util\vector.d(309): cannot implicitly convert expression (TVector!(T).remove((this._values),(index))) of type int to dwt.custom.styledtexthelper.StyledTextListener
dwt\custom\styledtexthelper.d(3532): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(3532): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtexthelper.d(3804): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(3804): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtexthelper.d(3878): undefined identifier SimpleType!(RANGE).arraycopy
dwt\custom\styledtexthelper.d(3878): function expected before (), not SimpleType!(RANGE).arraycopy of type void
dwt\custom\styledtext.d(283): template instance cannot resolve forward reference
dwt\custom\styledtext.d(283): Hashtable!(Integer,StyledTextEvent) is used as a type
dwt\custom\styledtext.d(283): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(283): cannot implicitly convert expression (new Hashtable!(Integer,StyledTextEvent)) of type void* to dwt.util.hashtable.Hashtable!(Integer,StyledTextEvent).Hashtable
dwt\custom\styledtext.d(284): template instance cannot resolve forward reference
dwt\custom\styledtext.d(284): Hashtable!(Integer,StyledTextEvent) is used as a type
dwt\custom\styledtext.d(284): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(284): cannot implicitly convert expression (new Hashtable!(Integer,StyledTextEvent)) of type void* to dwt.util.hashtable.Hashtable!(Integer,StyledTextEvent).Hashtable
dwt\custom\styledtext.d(285): template instance cannot resolve forward reference
dwt\custom\styledtext.d(285): Hashtable!(Integer,int[]) is used as a type
dwt\custom\styledtext.d(285): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(285): cannot implicitly convert expression (new Hashtable!(Integer,int[])) of type void* to dwt.util.hashtable.Hashtable!(Integer,int[]).Hashtable
dwt\custom\styledtext.d(428): template instance cannot resolve forward reference
dwt\custom\styledtext.d(428): Hashtable!(Color,Color) is used as a type
dwt\custom\styledtext.d(428): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(428): cannot implicitly convert expression (new Hashtable!(Color,Color)) of type void* to dwt.util.hashtable.Hashtable!(Color,Color).Hashtable
dwt\custom\styledtext.d(743): template instance cannot resolve forward reference
dwt\custom\styledtext.d(743): Vector!(Color) is used as a type
dwt\custom\styledtext.d(743): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(743): cannot implicitly convert expression (new Vector!(Color)) of type void* to dwt.util.vector.Vector!(Color).Vector
dwt\util\vector.d(262): undefined identifier TVector!(T).insert
dwt\util\vector.d(262): function expected before (), not TVector!(T).insert of type void
dwt\util\vector.d(304): undefined identifier TVector!(T).remove
dwt\util\vector.d(304): function expected before (), not TVector!(T).remove of type void
dwt\util\vector.d(309): undefined identifier TVector!(T).remove
dwt\util\vector.d(309): function expected before (), not TVector!(T).remove of type void
dwt\util\vector.d(309): cannot implicitly convert expression (TVector!(T).remove((this._values),(index))) of type int to dwt.graphics.color.Color
dwt\custom\styledtext.d(1693): template instance cannot resolve forward reference
dwt\custom\styledtext.d(1693): Hashtable!(Integer,Integer) is used as a type
dwt\custom\styledtext.d(1693): new can only create structs, dynamic arrays or class objects, not void's
dwt\custom\styledtext.d(1693): cannot implicitly convert expression (new Hashtable!(Integer,Integer)) of type void* to dwt.util.hashtable.Hashtable!(Integer,Integer).Hashtable
-----------------------------------------
you may need to copy "dwt.lib" "dwtd.lib" to \dmd\lib

Any ideas?
I tried changing scope to _scope Scope and pageRange but get the above errors.
DBloke
April 13, 2006
Hmmmm
I can see as D evolves this variable naming conflict is going to become more prevalent and going to break more code in other libraries.

If this isn't a strong argument for D needing namespaces or something similar then nothing is.

DBloke
April 13, 2006
On Thu, 13 Apr 2006 23:58:31 +1000, DBloke <DBloke@NoSpam.org> wrote:

> Hmmmm
> I can see as D evolves this variable naming conflict is going to become more prevalent and going to break more code in other libraries.
>
> If this isn't a strong argument for D needing namespaces or something similar then nothing is.
>

All reserved words are lowercase, and most are standard English. Therefore don't use lowercase identifiers and try not to use standard English words for identifiers.

-- 
Derek Parnell
Melbourne, Australia
April 13, 2006
> All reserved words are lowercase, and most are standard English. Therefore don't use lowercase identifiers and try not to use standard English words for identifiers.
> 

Thanks for the tip and thanks for the excellent Build ;)
Sadly I am still unable to build DWT, been flicking through the source code for hours now (do sympathise with Shawn) and just can't see what the problem is, I was informed that by changing scope in source files for DWT to something else might solve the problem, it did for the scope errors but spat out loads more errors.

I don't suppose anybody has modified source files for DWT that will build under DMD0.153?

DBloke
April 13, 2006
> Any ideas for an alternative GUI framework?
>

Here's a list:  http://www.prowiki.org/wiki4d/wiki.cgi?AvailableGuiLibraries

Mine is DFL and it hasn't required any changes for several DMD versions. It also has an alpha version GUI builder.
www.dprogramming.com

- Chris
April 13, 2006
Heya,

I think Shawn is busy with school ,  I have updated DWT & Poseidon for .154.  Erroneous 'statement not reachable' warnings were keeping it from compiling.

Thx,
Charlie

DBloke wrote:
> 
>> All reserved words are lowercase, and most are standard English. Therefore don't use lowercase identifiers and try not to use standard English words for identifiers.
>>
> 
> Thanks for the tip and thanks for the excellent Build ;)
> Sadly I am still unable to build DWT, been flicking through the source code for hours now (do sympathise with Shawn) and just can't see what the problem is, I was informed that by changing scope in source files for DWT to something else might solve the problem, it did for the scope errors but spat out loads more errors.
> 
> I don't suppose anybody has modified source files for DWT that will build under DMD0.153?
> 
> DBloke
April 14, 2006
Hi, All:

    I am on a business travel now. I'll fix the problem as soon as possible
and make DWT compliant with DMD 0.154. Maybe next week.

    Sorry for the inconvenience.

    It is appreciated if somebody else do me a favor to help to fix it.


- Shawn



"DBloke" <DBloke@NoSpam.org> wrote in message news:e1j5fv$2f2d$1@digitaldaemon.com...
> Hi,
> Been trying to build DWT with latest DMD and latest DWT an Build
>
> Running Windows XP SP2 below is output of error
>
> deleting old intermediate files ...
>
> C:\dmd\dwt\import>del *.obj *.map *.rsp *.lsp *.ksp *.def /s /q Build release version ...
>
> 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\custom\styledtext.d(294): identifier expected following '.', not
> 'scope'
> dwt\custom\styledtext.d(304): identifier expected following '.', not
> 'scope'
> dwt\custom\styledtext.d(532): identifier expected following '.', not
> 'scope'
> dwt\custom\styledtext.d(536): identifier expected following '.', not
> 'scope'
> dwt\printing\printerdata.d(63): no identifier for declarator int
> dwt\printing\printerdata.d(63): semicolon expected, not 'scope'
> dwt\printing\printerdata.d(63): Declaration expected, not 'scope'
> dwt\printing\printdialog.d(42): no identifier for declarator int
> dwt\printing\printdialog.d(42): semicolon expected, not 'scope'
> dwt\printing\printdialog.d(42): Declaration expected, not 'scope'
> dwt\printing\printdialog.d(147): expression expected, not 'scope'
> dwt\printing\printdialog.d(165): found 'scope' when expecting ')'
> dwt\printing\printdialog.d(165): semicolon expected following function
> declaration
> dwt\printing\printdialog.d(165): Declaration expected, not ')'
> dwt\printing\printdialog.d(270): expression expected, not 'scope'
> dwt\printing\printdialog.d(338): identifier expected following '.', not
> 'scope'
> dwt\printing\printdialog.d(342): identifier expected following '.', not
> 'scope'
> dwt\printing\printdialog.d(359): found '=' when expecting '('
> dwt\printing\printdialog.d(359): valid scope identifiers are exit,
> failure, or success, not data
> dwt\printing\printdialog.d(359): found '.' when expecting ')'
> dwt\printing\printdialog.d(359): found ';' when expecting '('
> -----------------------------------------
> Build debug version ...
>
> C:\dmd\dwt\import>build -debug -g -unittest -clean -w -lib -full -allobj
> dwt\all.d -T..\lib\dwtd.lib  -version=OLE_COM -version=DRAG_DROP
> dwt\custom\styledtext.d(294): identifier expected following '.', not
> 'scope'
> dwt\custom\styledtext.d(304): identifier expected following '.', not
> 'scope'
> dwt\custom\styledtext.d(532): identifier expected following '.', not
> 'scope'
> dwt\custom\styledtext.d(536): identifier expected following '.', not
> 'scope'
> dwt\printing\printerdata.d(63): no identifier for declarator int
> dwt\printing\printerdata.d(63): semicolon expected, not 'scope'
> dwt\printing\printerdata.d(63): Declaration expected, not 'scope'
> dwt\printing\printdialog.d(42): no identifier for declarator int
> dwt\printing\printdialog.d(42): semicolon expected, not 'scope'
> dwt\printing\printdialog.d(42): Declaration expected, not 'scope'
> dwt\printing\printdialog.d(147): expression expected, not 'scope'
> dwt\printing\printdialog.d(165): found 'scope' when expecting ')'
> dwt\printing\printdialog.d(165): semicolon expected following function
> declaration
> dwt\printing\printdialog.d(165): Declaration expected, not ')'
> dwt\printing\printdialog.d(270): expression expected, not 'scope'
> dwt\printing\printdialog.d(338): identifier expected following '.', not
> 'scope'
> dwt\printing\printdialog.d(342): identifier expected following '.', not
> 'scope'
> dwt\printing\printdialog.d(359): found '=' when expecting '('
> dwt\printing\printdialog.d(359): valid scope identifiers are exit,
> failure, or success, not data
> dwt\printing\printdialog.d(359): found '.' when expecting ')'
> dwt\printing\printdialog.d(359): found ';' when expecting '('
> -----------------------------------------
> you may need to copy "dwt.lib" "dwtd.lib" to \dmd\lib
>
> C:\dmd\dwt\import>pause
> Press any key to continue . . .
>
> dwt.lib or dwtd.lib are not built.
>
> Is this a problem with new dmd compiler or something I am doing?
>
> I edited the sc.ini file to reflect path where import is
>
> [Version]
> version=7.51 Build 020
>
> [Environment]
> LIB="%@P%\..\lib";\..\dm\lib
> DFLAGS="-I%@P%\..\src\phobos;\..\..\dwt\import"
> LINKCMD=%@P%\..\dm\bin\link.exe
>
> Thanks in advance


« First   ‹ Prev
1 2 3