Pain when changing DMD version...

JerryR via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 23 20:06:40 PST 2015


A couple of months ago, I decided to upgrade my DMD to a new 
version: 2.066, and today I needed compile that project again, 
which a year ago I had compiled with DMD 2.060.

Now if you look below you will see the errors that I'm getting 
with changing from DMD 2.060 to 2.066, and all the errors are 
from GTKD, not my program.... yet!

Well I'm bit disappointed and a bit lost in what to do, I don't 
know if I go back to 2.060 or upgrade the GTKD and I cross my 
fingers for my program still working.

  - What you used to do in cases like this?


Errors when changing from DMD 2.060 to 2.066:

C:\gtkd\src\gtkc\gtktypes.d(283): Error: enum member 
gtkc.gtktypes.GtkRcTokenTyp
e.INCLUDE initialization with (GtkRcTokenType.INVALID + 1) causes 
overflow for t
ype 'int'
C:\gtkd\src\gtkc\gtktypes.d(2184): Error: cannot implicitly 
convert expression (
16) of type int to GParamFlags

C:\gtkd\src\gtk\Widget.d(239): Error: cannot modify 'this' 
reference
C:\gtkd\src\gtk\Widget.d(242): Error: an earlier return statement 
skips construc
tor
C:\gtkd\src\glib\StringG.d(101): Error: cannot modify 'this' 
reference
C:\gtkd\src\gobject\Closure.d(138): Error: cannot modify 'this' 
reference
C:\gtkd\src\gobject\ObjectG.d(171): Error: cannot modify 'this' 
reference
C:\gtkd\src\gobject\ObjectG.d(238): Error: struct 
gtkc.Loader.Linker member load
edLibraries is not accessible
C:\gtkd\src\gobject\ParamSpec.d(110): Error: cannot modify 'this' 
reference
C:\gtkd\src\gobject\Value.d(124): Error: cannot modify 'this' 
reference
C:\gtkd\src\gdk\Pixbuf.d(131): Error: cannot modify 'this' 
reference
C:\gtkd\src\gdk\Pixbuf.d(138): Error: cannot modify 'this' 
reference
C:\gtkd\src\gdk\Pixbuf.d(141): Error: an earlier return statement 
skips construc
tor
C:\gtkd\src\glib\ErrorG.d(223): Error: cannot modify 'this' 
reference
C:\gtkd\src\gdkpixbuf\PixbufFormat.d(138): Error: cannot modify 
'this' reference

C:\gtkd\src\glib\ListSG.d(122): Error: cannot modify 'this' 
reference
C:\gtkd\src\gdk\Drawable.d(160): Error: cannot modify 'this' 
reference
C:\gtkd\src\gdk\Drawable.d(167): Error: cannot modify 'this' 
reference
C:\gtkd\src\gdk\Drawable.d(170): Error: an earlier return 
statement skips constr
uctor
C:\gtkd\src\gdk\Display.d(121): Error: cannot modify 'this' 
reference
C:\gtkd\src\gdk\Display.d(128): Error: cannot modify 'this' 
reference
C:\gtkd\src\gdk\Display.d(131): Error: an earlier return 
statement skips constru
ctor
C:\gtkd\src\gdk\Screen.d(140): Error: cannot modify 'this' 
reference

Jerry.


More information about the Digitalmars-d mailing list