[Gambas-user] Can't compile rev 6055

Fabien Bodard gambas.fr at ...626...
Thu Jan 2 22:29:22 CET 2014


Problem on compiling gtk3 :

GTK3 Version : 3.10.6 on Arch

[fabien at ...3278... gb.gtk3]$ make
make  all-recursive
make[1]: Entering directory '/home/fabien/Documents/Developpement/trunk/gb.gtk3'
Making all in src
make[2]: Entering directory
'/home/fabien/Documents/Developpement/trunk/gb.gtk3/src'
  CXX      gb_gtk3_la-gcontrol.lo
gcontrol.cpp: In function 'void cb_update_font(GtkWidget*, gpointer)':
gcontrol.cpp:738:2: warning: 'void gtk_widget_modify_font(GtkWidget*,
PangoFontDescription*)' is deprecated (declared at
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:699): Use
'gtk_widget_override_font' instead [-Wdeprecated-declarations]
  gtk_widget_modify_font(widget, desc);
  ^
gcontrol.cpp:738:37: warning: 'void gtk_widget_modify_font(GtkWidget*,
PangoFontDescription*)' is deprecated (declared at
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:699): Use
'gtk_widget_override_font' instead [-Wdeprecated-declarations]
  gtk_widget_modify_font(widget, desc);
                                     ^
gcontrol.cpp: In member function 'virtual void gControl::updateFont()':
gcontrol.cpp:744:2: warning: 'void gtk_widget_modify_font(GtkWidget*,
PangoFontDescription*)' is deprecated (declared at
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:699): Use
'gtk_widget_override_font' instead [-Wdeprecated-declarations]
  gtk_widget_modify_font(widget, font()->desc());
  ^
gcontrol.cpp:744:47: warning: 'void gtk_widget_modify_font(GtkWidget*,
PangoFontDescription*)' is deprecated (declared at
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:699): Use
'gtk_widget_override_font' instead [-Wdeprecated-declarations]
  gtk_widget_modify_font(widget, font()->desc());
                                               ^
gcontrol.cpp: In function 'int gt_get_preferred_width(GtkWidget*)':
gcontrol.cpp:1514:13: error: 'GtkWidgetClass' has no member named
'_gtk_reserved2'
  if (klass->_gtk_reserved2)
             ^
gcontrol.cpp:1515:51: error: 'GtkWidgetClass' has no member named
'_gtk_reserved2'
   (*(void (*)(GtkWidget *, gint *, gint
*))klass->_gtk_reserved2)(widget, &m, &n);
                                                   ^
gcontrol.cpp: In member function 'bool gControl::grab()':
gcontrol.cpp:2084:6: warning: 'GdkGrabStatus
gdk_pointer_grab(GdkWindow*, gboolean, GdkEventMask, GdkWindow*,
GdkCursor*, guint32)' is deprecated (declared at
/usr/include/gtk-3.0/gdk/gdkmain.h:86): Use 'gdk_device_grab' instead
[-Wdeprecated-declarations]
  if (gdk_pointer_grab(win, FALSE,
(GdkEventMask)(GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK), NULL,
      ^
gcontrol.cpp:2090:33: warning: 'GdkGrabStatus
gdk_pointer_grab(GdkWindow*, gboolean, GdkEventMask, GdkWindow*,
GdkCursor*, guint32)' is deprecated (declared at
/usr/include/gtk-3.0/gdk/gdkmain.h:86): Use 'gdk_device_grab' instead
[-Wdeprecated-declarations]
    gApplication::lastEventTime()) != GDK_GRAB_SUCCESS)
                                 ^
gcontrol.cpp:2095:6: warning: 'GdkGrabStatus
gdk_keyboard_grab(GdkWindow*, gboolean, guint32)' is deprecated
(declared at /usr/include/gtk-3.0/gdk/gdkmain.h:93): Use
'gdk_device_grab' instead [-Wdeprecated-declarations]
  if (gdk_keyboard_grab(win, FALSE, gApplication::lastEventTime()) !=
GDK_GRAB_SUCCESS)
      ^
gcontrol.cpp:2095:65: warning: 'GdkGrabStatus
gdk_keyboard_grab(GdkWindow*, gboolean, guint32)' is deprecated
(declared at /usr/include/gtk-3.0/gdk/gdkmain.h:93): Use
'gdk_device_grab' instead [-Wdeprecated-declarations]
  if (gdk_keyboard_grab(win, FALSE, gApplication::lastEventTime()) !=
GDK_GRAB_SUCCESS)
                                                                 ^
gcontrol.cpp:2097:3: warning: 'void gdk_pointer_ungrab(guint32)' is
deprecated (declared at /usr/include/gtk-3.0/gdk/gdkmain.h:102): Use
'gdk_device_ungrab' instead [-Wdeprecated-declarations]
   gdk_pointer_ungrab(GDK_CURRENT_TIME);
   ^
gcontrol.cpp:2097:38: warning: 'void gdk_pointer_ungrab(guint32)' is
deprecated (declared at /usr/include/gtk-3.0/gdk/gdkmain.h:102): Use
'gdk_device_ungrab' instead [-Wdeprecated-declarations]
   gdk_pointer_ungrab(GDK_CURRENT_TIME);
                                      ^
gcontrol.cpp:2113:2: warning: 'void gdk_pointer_ungrab(guint32)' is
deprecated (declared at /usr/include/gtk-3.0/gdk/gdkmain.h:102): Use
'gdk_device_ungrab' instead [-Wdeprecated-declarations]
  gdk_pointer_ungrab(GDK_CURRENT_TIME);
  ^
gcontrol.cpp:2113:37: warning: 'void gdk_pointer_ungrab(guint32)' is
deprecated (declared at /usr/include/gtk-3.0/gdk/gdkmain.h:102): Use
'gdk_device_ungrab' instead [-Wdeprecated-declarations]
  gdk_pointer_ungrab(GDK_CURRENT_TIME);
                                     ^
gcontrol.cpp:2114:2: warning: 'void gdk_keyboard_ungrab(guint32)' is
deprecated (declared at /usr/include/gtk-3.0/gdk/gdkmain.h:104): Use
'gdk_device_ungrab' instead [-Wdeprecated-declarations]
  gdk_keyboard_ungrab(GDK_CURRENT_TIME);
  ^
gcontrol.cpp:2114:38: warning: 'void gdk_keyboard_ungrab(guint32)' is
deprecated (declared at /usr/include/gtk-3.0/gdk/gdkmain.h:104): Use
'gdk_device_ungrab' instead [-Wdeprecated-declarations]
  gdk_keyboard_ungrab(GDK_CURRENT_TIME);
                                      ^
Makefile:754: recipe for target 'gb_gtk3_la-gcontrol.lo' failed
make[2]: *** [gb_gtk3_la-gcontrol.lo] Error 1
make[2]: Leaving directory
'/home/fabien/Documents/Developpement/trunk/gb.gtk3/src'
Makefile:428: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/fabien/Documents/Developpement/trunk/gb.gtk3'
Makefile:359: recipe for target 'all' failed
make: *** [all] Error 2
[fabien at ...3278... gb.gtk3]$



-- 
Fabien Bodard




More information about the User mailing list