GNOME Bugzilla – Bug 582711
build fails due to cast warning in eel-background.c
Last modified: 2010-11-29 05:22:04 UTC
I'm jhbuilding from git, so -Werror is enabled, which turns this warning into an error: eel-background.c: In function `eel_background_receive_dropped_color': eel-background.c:1049: warning: cast increases required alignment of target type The line in question is: channels = (guint16 *) selection_data->data;
What architecture are you getting this on? Not seeing it on x86. I'm guessing ARM maybe?
This is SunOS manduba 5.11 snv_101 sun4u sparc SUNW,Ultra-Enterprise (OpenSolaris Nevada build 101 on UltraSPARC-IIs).
- channels = (guint16 *) selection_data->data; + channels = (guint16 *) (void *) selection_data->data; Fix the bug for you? Can't test this, no access to the hardware.
Yes, that allows the compilation of eel-background.c to succeed. There are a large number of similar warnings from eel-canvas.c; if you would like some access to this hardware contact us over IRC (trs81 and Zanchey on irc.gnome.org).
To be specific, the EEL_CANVAS_ITEM, EEL_CANVAS_RE, EEL_CANVAS_RECT etc. macros are giving the warnings.
EelBackground has been removed from git master; is there still a build issue for you on Solaris?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!