Windows XP, cannot compile rev 14856

Bug #1571282 reported by Alvin Penner on 2016-04-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Undecided
Patrick Storz

Bug Description

using btool and devlibs 61, I get the following errors:

--- compile / cc
compile src/widgets/image-menu-item.c
Make error line 313: problem compiling: src/widgets/image-menu-item.c: In functi
on 'image_menu_item_get_type':
src/widgets/image-menu-item.c:109:1: warning: implicit declaration of function '
G_ADD_PRIVATE' [-Wimplicit-function-declaration]
src/widgets/image-menu-item.c:109:1: error: expected expression before 'ImageMen
uItem'
src/widgets/image-menu-item.c:109:1: error: expected ';' before '{' token
src/widgets/image-menu-item.c: In function 'image_menu_item_class_init':
src/widgets/image-menu-item.c:123:15: error: 'GtkWidgetClass' has no member name
d 'destroy'
src/widgets/image-menu-item.c:125:15: error: 'GtkWidgetClass' has no member name
d 'get_preferred_width'
src/widgets/image-menu-item.c:126:15: error: 'GtkWidgetClass' has no member name
d 'get_preferred_height'
src/widgets/image-menu-item.c:127:15: error: 'GtkWidgetClass' has no member name
d 'get_preferred_height_for_width'
src/widgets/image-menu-item.c: In function 'image_menu_item_init':
src/widgets/image-menu-item.c:195:3: warning: implicit declaration of function '
image_menu_item_get_instance_private' [-Wimplicit-function-declaration]
src/widgets/image-menu-item.c:195:25: warning: assignment makes pointer from int
eger without a cast [enabled by default]
src/widgets/image-menu-item.c: In function 'image_menu_item_set_property':
src/widgets/image-menu-item.c:228:7: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' u
ndeclared (first use in this function)
src/widgets/image-menu-item.c:228:7: note: each undeclared identifier is reporte
d only once for each function it appears in
src/widgets/image-menu-item.c:230:7: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' und
eclared (first use in this function)
src/widgets/image-menu-item.c: In function 'image_menu_item_get_property':
src/widgets/image-menu-item.c:257:7: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' u
ndeclared (first use in this function)
src/widgets/image-menu-item.c:259:7: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' und
eclared (first use in this function)
src/widgets/image-menu-item.c: In function 'image_menu_item_destroy':
src/widgets/image-menu-item.c:289:50: error: 'GtkWidgetClass' has no member name
d 'destroy'
src/widgets/image-menu-item.c: In function 'image_menu_item_toggle_size_request'
:
src/widgets/image-menu-item.c:316:7: warning: implicit declaration of function '
gtk_widget_get_preferred_size' [-Wimplicit-function-declaration]
src/widgets/image-menu-item.c: In function 'image_menu_item_recalculate':
src/widgets/image-menu-item.c:346:7: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' u
ndeclared (first use in this function)
src/widgets/image-menu-item.c:359:7: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' und
eclared (first use in this function)
src/widgets/image-menu-item.c: In function 'image_menu_item_get_preferred_width'
:
src/widgets/image-menu-item.c:410:50: error: 'GtkWidgetClass' has no member name
d 'get_preferred_width'
src/widgets/image-menu-item.c:418:7: warning: implicit declaration of function '
gtk_widget_get_preferred_width' [-Wimplicit-function-declaration]
src/widgets/image-menu-item.c: In function 'image_menu_item_get_preferred_height
':
src/widgets/image-menu-item.c:452:50: error: 'GtkWidgetClass' has no member name
d 'get_preferred_height'
src/widgets/image-menu-item.c: In function 'image_menu_item_get_preferred_height
_for_width':
src/widgets/image-menu-item.c:490:35: error: 'GtkWidgetClass' has no member name
d 'get_preferred_height_for_width'
src/widgets/image-menu-item.c: In function 'image_menu_item_size_allocate':
src/widgets/image-menu-item.c:522:7: error: unknown type name 'GtkStyleContext'
src/widgets/image-menu-item.c:523:7: error: unknown type name 'GtkStateFlags'
src/widgets/image-menu-item.c:544:7: warning: implicit declaration of function '
gtk_widget_get_style_context' [-Wimplicit-function-declaration]
src/widgets/image-menu-item.c:544:15: warning: assignment makes pointer from int
eger without a cast [enabled by default]
src/widgets/image-menu-item.c:545:7: warning: implicit declaration of function '
gtk_widget_get_state_flags' [-Wimplicit-function-declaration]
src/widgets/image-menu-item.c:546:7: warning: implicit declaration of function '
gtk_style_context_get_padding' [-Wimplicit-function-declaration]
src/widgets/image-menu-item.c: In function 'activatable_update_stock_id':
src/widgets/image-menu-item.c:621:3: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' u
ndeclared (first use in this function)
src/widgets/image-menu-item.c:628:7: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' und
eclared (first use in this function)
src/widgets/image-menu-item.c: In function 'activatable_update_gicon':
src/widgets/image-menu-item.c:647:3: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' u
ndeclared (first use in this function)
src/widgets/image-menu-item.c:658:3: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' und
eclared (first use in this function)
src/widgets/image-menu-item.c: In function 'image_menu_item_set_accel_group':
src/widgets/image-menu-item.c:910:3: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' u
ndeclared (first use in this function)
src/widgets/image-menu-item.c:925:3: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' und
eclared (first use in this function)
src/widgets/image-menu-item.c: In function 'traverse_container':
src/widgets/image-menu-item.c:1026:32: warning: unused parameter 'data' [-Wunuse
d-parameter]
src/widgets/image-menu-item.c: In function 'image_menu_item_setting_changed':
src/widgets/image-menu-item.c:1035:47: warning: unused parameter 'settings' [-Wu
nused-parameter]
src/widgets/image-menu-item.c: In function 'image_menu_item_screen_changed':
src/widgets/image-menu-item.c:1050:48: warning: unused parameter 'previous_scree
n' [-Wunused-parameter]
src/widgets/image-menu-item.c: At top level:
src/widgets/image-menu-item.c:606:1: warning: 'image_menu_item_activatable_inter
face_init' defined but not used [-Wunused-function]

su_v (suv-lp) on 2016-04-17
tags: added: build win32
Patrick Storz (ede123) wrote :

Fixed in revision 14857
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14857

'image-menu-item.c' is only needed for gtk3 builds and does not compile with gtk2.

Changed in inkscape:
status: New → Fix Committed
assignee: nobody → Eduard Braun (eduard-braun2)
su_v (suv-lp) on 2016-04-17
tags: added: win64
Alvin Penner (apenner) wrote :

thanks Eduard, that appears to have fixed it

there are still some remaining issues, which I will report elsewhere

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers