www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - DWT Build problems with DMD 0.153

reply DBloke <DBloke NoSpam.org> writes:
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
Apr 12 2006
next sibling parent reply Kyle Furlong <kylefurlong gmail.com> writes:
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.
Apr 12 2006
next sibling parent reply DBloke <DBloke NoSpam.org> writes:
 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
Apr 12 2006
parent "Chris Miller" <chris dprogramming.com> writes:
 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
Apr 13 2006
prev sibling parent reply DBloke <DBloke NoSpam.org> writes:
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
Apr 13 2006
parent reply DBloke <DBloke NoSpam.org> writes:
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
Apr 13 2006
parent reply "Derek Parnell" <derek psych.ward> writes:
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
Apr 13 2006
parent reply DBloke <DBloke NoSpam.org> writes:
 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
Apr 13 2006
parent reply Charles <noone nowhere.com> writes:
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
Apr 13 2006
next sibling parent unknown <unknown_member pathlink.com> writes:
In article <e1mni9$phk$1 digitaldaemon.com>, Charles says...
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
version=ANSI is still not compilling
Apr 15 2006
prev sibling next sibling parent reply DBloke <DBloke NoSpam.org> writes:
Charles wrote:
 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
Excellent, are the DWT sources at www.dsource.org/projects/dwt ? it is just the save as link gives the same filename as the one I downloaded cheers DBloke
Apr 18 2006
parent reply Brad Anderson <brad dsource.org> writes:
DBloke wrote:
 Charles wrote:
 
 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
Excellent, are the DWT sources at www.dsource.org/projects/dwt ? it is just the save as link gives the same filename as the one I downloaded cheers DBloke
It looks like the main changes are here: http://www.dsource.org/projects/dwt/changeset/101 And you can always get the code from SVN by following instructions here: http://www.dsource.org/site/svnclient See 'checkout' section on how to get the files to your local. BA
Apr 18 2006
parent reply DBloke <DBloke NoSpam.org> writes:
Thanks,
Still got a strange problem though,
Build seems to be looking in C:\dmd\bin\lib as I am getting
C:\dmd\bin\lib is not recognised as an internal or external command, 
operable program or batch file

my sc.ini file looks like this

[Version]
version=7.51 Build 020

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

I have dm in dmd dir

I can do a dmd hello.d and all fine, am I missing something else

Path environment variable is set at C:\dmd\bin

i can type dmd or link on command line and it is fine

Any ideas
DBloke
Apr 18 2006
next sibling parent reply Derek Parnell <derek psych.ward> writes:
On Tue, 18 Apr 2006 22:46:37 +0100, DBloke wrote:

 Thanks,
 Still got a strange problem though,
 Build seems to be looking in C:\dmd\bin\lib as I am getting
 C:\dmd\bin\lib is not recognised as an internal or external command, 
 operable program or batch file
 
 my sc.ini file looks like this
 
 [Version]
 version=7.51 Build 020
 
 [Environment]
 LIB="% P%\..\lib;\dmd\dm\lib"
 DFLAGS="-I% P%\..\src\phobos;C:\dmd\dwt\import"
 LINKCMD=% P%\dmd\dm\bin\link.exe
 
 I have dm in dmd dir
 
 I can do a dmd hello.d and all fine, am I missing something else
 
 Path environment variable is set at C:\dmd\bin
 
 i can type dmd or link on command line and it is fine
If you are build a library, Build uses DigitalMars' lib.exe in Windows environments. This is normally found in the dm\bin (not dmd\bin) folder which is expected to be on your PATH. I notice you have the LINKCMD in the sc.ini file to show where the linker is, well you might have to do something similar for the librarian. If you place in the build.cfg file (Build's configuration file) the line ... LINKCMD=C:\dmd\dm\bin\lib.exe Build can find your librarian application then. -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocracy!" 19/04/2006 9:20:46 AM
Apr 18 2006
parent reply DBloke <DBloke NoSpam.org> writes:
 If you are build a library, Build uses DigitalMars' lib.exe in Windows
 environments. This is normally found in the dm\bin (not dmd\bin) folder
 which is expected to be on your PATH. I notice you have the LINKCMD in the
 sc.ini file to show where the linker is, well you might have to do
 something similar for the librarian. If you place in the build.cfg file
 (Build's configuration file) the line ...
 
 LINKCMD=C:\dmd\dm\bin\lib.exe
 
 Build can find your librarian application then.
 
Hi thanks for tip, I downloaded build but it did not come with a build.cfg file, and I have been unable to access dsource for a few days now keep getting FATAL: connection limit exceeded for non-superusers error, in the end I just copied lib.exe to dmd\bin and tis solved the problem, got everything to build apart from examples. Keep getting a module all cannot read file dwt\all.d even copying the all.d file to every occurrence of dwt under dwt\import does not fix problem. Who do i need to contact about dsource problem? DBloke
Apr 19 2006
parent reply Derek Parnell <derek psych.ward> writes:
On Wed, 19 Apr 2006 10:30:55 +0100, DBloke wrote:

 If you are build a library, Build uses DigitalMars' lib.exe in Windows
 environments. This is normally found in the dm\bin (not dmd\bin) folder
 which is expected to be on your PATH. I notice you have the LINKCMD in the
 sc.ini file to show where the linker is, well you might have to do
 something similar for the librarian. If you place in the build.cfg file
 (Build's configuration file) the line ...
 
 LINKCMD=C:\dmd\dm\bin\lib.exe
 
 Build can find your librarian application then.
 
Hi thanks for tip, I downloaded build but it did not come with a build.cfg file,
It contains "example_build.cfg" though which has this contents ... LIBCMD=% D%\..\..\dm\bin\lib.exe #CMDLINE=-IC:\TEMP\FOO [dbg] CMDLINE=-unittest --release --inline -g -w -full CMDLINE=-T{Target}_{Group} [prod] CMDLINE=--unittest --debug* --g --w -release -inline -full CMDLINE=-T{Target}_{Group} And it comes with docs that explain all this stuff.
 and I have been unable to access dsource for a few days 
 now keep getting FATAL: connection limit exceeded for non-superusers 
 error,
...
 Who do i need to contact about dsource problem?
"Brad" <admin dsource.org> -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocracy!" 19/04/2006 7:50:11 PM
Apr 19 2006
next sibling parent DBloke <DBloke NoSpam.org> writes:
Thanks for help,
For some reason though I get the error for each end every source file 
about module all cannot read file dwt\all.d I have this file in
\dwt\packages\dwt\examples\controlexample
\dwt\packages\dwt\examples
\dwt\packages\dwt
\dwt\import\dwt

Where should this file be?

Thanks in advance
Apr 19 2006
prev sibling parent DBloke <DBloke NoSpam.org> writes:
Thanks,
I only downloaded the docs and windows exe, I just downloaded source and 
got file from there.

I managed to build the libs and extras without problem, but can't build 
any of the examples, keeps moaning about dwt\all.d not being able to 
read the file.

I copied this file into every directory within dwt but still can't build 
any examples.

would this have anything to do with removing the -w switch in the build 
switch?

DBloke
Apr 20 2006
prev sibling next sibling parent reply Hengky Hartono ( steelx7000<at>gmail<dot>com ) <Hengky_member pathlink.com> writes:
In article <e23mnt$16l9$1 digitaldaemon.com>, DBloke says...
Thanks,
Still got a strange problem though,
Build seems to be looking in C:\dmd\bin\lib as I am getting
C:\dmd\bin\lib is not recognised as an internal or external command, 
operable program or batch file
Copy lib.exe from c:\dm\bin to directory c:\dmd\bin\ it's work for me
May 24 2006
parent Derek Parnell <derek psych.ward> writes:
On Thu, 25 May 2006 06:24:19 +0000 (UTC), Hengky Hartono wrote:

 In article <e23mnt$16l9$1 digitaldaemon.com>, DBloke says...
Thanks,
Still got a strange problem though,
Build seems to be looking in C:\dmd\bin\lib as I am getting
C:\dmd\bin\lib is not recognised as an internal or external command, 
operable program or batch file
It will do this if it doesn't know where the librarian is located. It normally finds it because it gets that from the sc.ini file supplied by digitalmars. If you don't have one of those then can create a build.cfg file in the same directory that Build lives in, that contains the line ... LIBCMD=C:\dm\bin\lib.exe -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocracy!" 25/05/2006 4:43:04 PM
May 24 2006
prev sibling parent Hengky Hartono ( steelx7000<at>gmail<dot>com ) <Hengky_member pathlink.com> writes:
In article <e23mnt$16l9$1 digitaldaemon.com>, DBloke says...
Thanks,
Still got a strange problem though,
Build seems to be looking in C:\dmd\bin\lib as I am getting
C:\dmd\bin\lib is not recognised as an internal or external command, 
operable program or batch file
Copy lib.exe from c:\dm\bin to directory c:\dmd\bin\ it's work for me
May 24 2006
prev sibling parent DBloke <DBloke NoSpam.org> writes:
Charles wrote:
 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
Hi Charlie, you may need to update the make-dwtextra-lib.bat and remove the -w from them too, I did it manually for my build. Thanks for fixes DBloke
Apr 19 2006
prev sibling parent reply "Shawn Liu" <shawn666.liu gmail.com> writes:
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 
Apr 14 2006
next sibling parent DBloke <DBloke NoSpam.org> writes:
Hey No worries,
you guys are doing a splendid job!!
Look forward to using DWT and other GFX implementations with D.
Apr 17 2006
prev sibling parent pragma <pragma_member pathlink.com> writes:
In article <e1oh0q$2n5o$1 digitaldaemon.com>, Shawn Liu says...
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
Build problems aside, what kind of help are you looking for? The project wiki page on dsource.org doesn't give a whole lot of direction in this area. Would you like to see people post trac tickets, forum posts or perhaps continue to write bugs here instead? Also, how do you feel about accepting code patches - should they be emailed to a particular address? - EricAnderton at yahoo
Apr 17 2006