Numpsy
Joined: 22 Aug 2009 Posts: 27
|
Posted: Tue Dec 13, 2011 4:34 am Post subject: building with DMD 2.057 beta |
|
|
Hi,
I've tried to build DFL with the beta of DMD 2.057, and there is a stack of errors:
//////////////////////////////////////////
application.d(1842): use of typedef is deprecated; use alias instead
internal\winapi.d(1726): use of typedef is deprecated; use alias instead
socket.d(504): Error: function dfl.socket.AsyncSocket.blocking of type bool() overrides but is not covariant with std.socket.Socket.blocking of type const @prop
erty bool()
tabcontrol.d(1: Error: class dfl.tabcontrol.TabPage use of dfl.control.Control.opEquals(Control ctrl) hidden by TabPage is deprecated
button.d(381): Error: function dfl.button.Button.text cannot have an in contract when overriden function dfl.control.Control.text does not have an in contract
form.d(727): Error: non-final switch statement without a default is deprecated
form.d(1735): Error: non-final switch statement without a default is deprecated
form.d(1756): Error: non-final switch statement without a default is deprecated
form.d(1956): Error: non-final switch statement without a default is deprecated
form.d(3355): Error: non-final switch statement without a default is deprecated
drawing.d(3584): Error: non-final switch statement without a default is deprecated
drawing.d(3638): Error: non-final switch statement without a default is deprecated
panel.d(17): Error: non-final switch statement without a default is deprecated
textbox.d(4: Error: non-final switch statement without a default is deprecated
textbox.d(1071): Error: non-final switch statement without a default is deprecated
textbox.d(1164): Error: non-final switch statement without a default is deprecated
textbox.d(1214): Error: non-final switch statement without a default is deprecated
richtextbox.d(673): Error: non-final switch statement without a default is deprecated
picturebox.d(70): Error: non-final switch statement without a default is deprecated
picturebox.d(107): Error: non-final switch statement without a default is deprecated
picturebox.d(168): Error: non-final switch statement without a default is deprecated
listbox.d(391): Error: non-final switch statement without a default is deprecated
listbox.d(431): Error: non-final switch statement without a default is deprecated
listbox.d(722): Error: non-final switch statement without a default is deprecated
splitter.d(264): Error: non-final switch statement without a default is deprecated
button.d(23): Error: non-final switch statement without a default is deprecated
button.d(556): Error: non-final switch statement without a default is deprecated
button.d(688): Error: non-final switch statement without a default is deprecated
label.d(26): Error: non-final switch statement without a default is deprecated
label.d(144): Error: non-final switch statement without a default is deprecated
combobox.d(49): Error: non-final switch statement without a default is deprecated
combobox.d(314): Error: non-final switch statement without a default is deprecated
treeview.d(1079): Error: non-final switch statement without a default is deprecated
listview.d(1370): Error: non-final switch statement without a default is deprecated
//////////////////////////////////////////
These are generally trivial to fix, but some of the changes are D2 only. |
|