Hi folks,
Didn't had any deeper check but with recent svn I'm getting these compiler warnings on build with waf
../src/plugins.c:341:2: warning: initialization from incompatible pointer type [enabled by default] ../src/plugins.c:341:2: warning: (near initialization for ‘stash_funcs.stash_group_add_toggle_button’) [enabled by default] ../src/plugins.c:342:2: warning: initialization from incompatible pointer type [enabled by default] ../src/plugins.c:342:2: warning: (near initialization for ‘stash_funcs.stash_group_add_radio_buttons’) [enabled by default] ../src/plugins.c:343:2: warning: initialization from incompatible pointer type [enabled by default] ../src/plugins.c:343:2: warning: (near initialization for ‘stash_funcs.stash_group_add_spin_button_integer’) [enabled by default] ../src/plugins.c:344:2: warning: initialization from incompatible pointer type [enabled by default] ../src/plugins.c:344:2: warning: (near initialization for ‘stash_funcs.stash_group_add_combo_box’) [enabled by default] ../src/plugins.c:345:2: warning: initialization from incompatible pointer type [enabled by default] ../src/plugins.c:345:2: warning: (near initialization for ‘stash_funcs.stash_group_add_combo_box_entry’) [enabled by default] ../src/plugins.c:346:2: warning: initialization from incompatible pointer type [enabled by default] ../src/plugins.c:346:2: warning: (near initialization for ‘stash_funcs.stash_group_add_entry’) [enabled by default] ../src/plugins.c:347:2: warning: initialization from incompatible pointer type [enabled by default] ../src/plugins.c:347:2: warning: (near initialization for ‘stash_funcs.stash_group_add_widget_property’) [enabled by default]
Its a Debian/Unstable here running on AMD64.
Cheers, Frank
Le 18/06/2011 16:46, Frank Lanitz a écrit :
Hi folks,
Didn't had any deeper check but with recent svn I'm getting these compiler warnings on build with waf
[...]
Its a Debian/Unstable here running on AMD64.
Oops, my bad. I changed StashWidgetID to be gconstpointer rather than gpointer in r5857, and missed this. Fixed now.
Though, question to Nick (or Enrico if you know): why isn't StashWidgetID used in the plugindata.h? Would it be a problem to include stash.h in plugindata.h?
Cheers, Colomban