building dwt-addons-102 draw2d error

dolive dolive89 at sian.com
Mon Aug 4 21:36:33 PDT 2008


dolive дµ½:

> dolive дµ½:
> 
> > building dwt-addons-102 draw2d error with tangosvn,dmd1.033 £¬building dwt-win-274 is ok.
> > 
> > 
> >  dwtx\draw2d\XYLayout.d -ofDD-dwtx-draw2d.lib
> > dwtx\draw2d\ButtonBorder.d(52): Error: can only initialize static const BUTTON_
> > inside static constructor
> > dwtx\draw2d\ButtonBorder.d(56): Error: cannot implicitly convert expression (BUT
> > TON_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBorder
> > .ButtonScheme
> > dwtx\draw2d\ButtonBorder.d(67): Error: can only initialize static const BUTTON_C
> > ONTRAST_ inside static constructor
> > dwtx\draw2d\ButtonBorder.d(71): Error: cannot implicitly convert expression (BUT
> > TON_CONTRAST_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.But
> > tonBorder.ButtonScheme
> > dwtx\draw2d\ButtonBorder.d(82): Error: can only initialize static const BUTTON_S
> > CROLLBAR_ inside static constructor
> > dwtx\draw2d\ButtonBorder.d(86): Error: cannot implicitly convert expression (BUT
> > TON_SCROLLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.Bu
> > ttonBorder.ButtonScheme
> > dwtx\draw2d\ButtonBorder.d(97): Error: can only initialize static const TOOLBAR_
> >  inside static constructor
> > dwtx\draw2d\ButtonBorder.d(101): Error: cannot implicitly convert expression (TO
> > OLBAR_) of type dwtx.draw2d.Border.Border to dwtx.draw2d.ButtonBorder.ButtonBord
> > er.ButtonScheme
> > Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
> > Error: Command failed, aborting.
> > 
> > thanks!
> > 
> 
> 
> after delete #[dwtx/draw2d] from dsss.conf build , generate  DD-dwtx.lib is ok

after  generate  DD-dwtx.lib building dwtx/draw2d still appear error

thanks£¡



More information about the Digitalmars-d-dwt mailing list