comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Error in gtkada-3.4.2-gpl that comes with gnat gpl 2013
Date: Sun, 16 Jun 2013 20:02:21 +0200
Date: 2013-06-16T20:02:21+02:00	[thread overview]
Message-ID: <1pb61uo6w6ity.n3rxvomvbvq8.dlg@40tude.net> (raw)
In-Reply-To: 9afd55de-5e7e-484d-9962-247c0235c556@googlegroups.com

On Sun, 16 Jun 2013 07:43:59 -0700 (PDT), Charly wrote:

> I just tried to compile the new gtkada-3.4.2-gpl that comes with gnat gpl 2013,
> as I do every year after installing the new gnat gpl version, by doing:
> ./configure --prefix=/usr/local/gnat
> make
> 
> But this time, I got some error messages in testgtk:
> 
> gcc -c -gnatQ -gnatwa -gnatay3abcefhiklmnprt -g -O1 -gnat05 -I- -gnatA /mnt/data5/gmd/sw/gnat-2013/gtkada/gtkada-3.4.2-gpl-src/testgtk/opengl/view_gl.adb
> view_gl.gpb:98:10: "Get_Count" is undefined
> view_gl.gpb:184:42: "Get_X" is undefined (more references follow)
> view_gl.gpb:185:42: "Get_Y" is undefined (more references follow)
> view_gl.gpb:202:14: "Gdk_Window" is not visible
> view_gl.gpb:202:14: non-visible declaration at gdk.ads:42
> view_gl.gpb:207:10: "Get_Is_Hint" is undefined
> view_gl.gpb:208:10: warning: call to obsolescent procedure "Get_Pointer" declared at gdk-window.ads:1007
> view_gl.gpb:300:15: warning: condition is always False
> gnatmake: "/mnt/data5/gmd/sw/gnat-2013/gtkada/gtkada-3.4.2-gpl-src/testgtk/opengl/view_gl.adb" compilation error
> 
> I assume the problem was caused by the change from gtk-2.x to gtk-3.x.

GTK 3.x is hugely incompatible to 2.x. Cannot tell anything about testgtk,
but any GtkAda 2.x program must be reviewed and partially rewritten.

For a starting point consider this:

https://developer.gnome.org/gtk3/3.3/gtk-migrating-2-to-3.html

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2013-06-16 18:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-16 14:43 Error in gtkada-3.4.2-gpl that comes with gnat gpl 2013 Charly
2013-06-16 18:02 ` Dmitry A. Kazakov [this message]
2013-06-16 19:54 ` Andy M.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox