GNOME Bugzilla – Bug 440511
xcursors.h: illegal initializing
Last modified: 2007-05-29 01:04:52 UTC
Please describe the problem: 'cursors' is initialized in xcursors.h. It has following members. const gchar *name; const gchar *builtin; gint type; guchar width; guchar height; guchar hotx; guchar hoty; guchar *data; At revision 17645, 'builtin' was appended. But the last element of the structure was not updated. http://svn.gnome.org/viewcvs/gtk%2B/trunk/gdk/win32/xcursors.h?r1=17096&r2=17645 Steps to reproduce: 1.Compile by Visual C++ Actual results: The following message is displayed. gdk¥win32¥xcursors.h(358) : error C4047: 'initializing' : 'guchar' differs in levels of indirection from 'void *' Expected results: The last element should be initialized correctly. For example, { NULL, NULL, 0, 0, 0, 0, 0, NULL } Does this happen every time? gtk+-2.10.12 revision 17645 or later Other information:
CC'ing bratsche, since he committed the patch in question
Fixed in trunk and gtk-2-10 branch.