www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Error building dfl on dmd 2.054

reply simendsjo <simendsjo gmail.com> writes:
I've just added "default: assert(0)" on the switches, but I got an error 
I don't know how to solve:

tabcontrol.d(18): Error: class dfl.tabcontrol.TabPage use of 
dfl.control.Control.opEquals(Control ctrl) hidden by TabPage is deprecated

Any ideas? The best would of course be if the maintainer fixes the 
issues, but I don't know how long this will be.
Jul 26 2011
next sibling parent bearophile <bearophileHUGS lycos.com> writes:
simendsjo:

 I've just added "default: assert(0)" on the switches, but I got an error 
 I don't know how to solve:

See: http://d.puremagic.com/issues/show_bug.cgi?id=6373 Bye, bearophile
Jul 26 2011
prev sibling parent Jesse Phillips <jessekphillips+D gmail.com> writes:
simendsjo Wrote:

 I've just added "default: assert(0)" on the switches, but I got an error 
 I don't know how to solve:
 
 tabcontrol.d(18): Error: class dfl.tabcontrol.TabPage use of 
 dfl.control.Control.opEquals(Control ctrl) hidden by TabPage is deprecated
 
 Any ideas? The best would of course be if the maintainer fixes the 
 issues, but I don't know how long this will be.

I just made a pull request to fix this in the unofficial repo. But Bearophile's alias is probably the correct solution.
Jul 26 2011