Public bug reported:
Gutsy Tribe-5 32-bit.
Attempting to build Gutsy source package gnome-libs-1.4.2 with gcc 4.1.3
(installed with build-essentials):
colors.c:303: error: static declaration of 'my_x_query_colors' follows
non-static declaration
XmHTMLI.h:1063: error: previous declaration of 'my_x_query_colors' was here
make[2]: *** [colors.lo] Error 1
make[2]: Leaving directory `/home/all/SourceCode/gnome-libs-1.4.2/gtk-xmhtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/all/SourceCode/gnome-libs-1.4.2'
make: *** [all-recursive-am] Error 2
Applying the patch from bug #15307 (amd64/gcc4.0) to patch gnome-
libs-1.4.2/gtk-xmhtml/XmHTMLI.h fixes the issue.
void gtk_xmhtml_set_outline (GtkXmHTML *html, int flag);
-void my_x_query_colors(GdkColormap *colormap,
- GdkColor *colors,
- gint ncolors);
void
gtk_xmhtml_set_colors (GtkXmHTML *html,
Pixel foreground,
** Affects: gnome-libs (Ubuntu)
Importance: Undecided
Status: New
--
[gutsy] static declaration of 'my_x_query_colors' follows non-static declaration
https://bugs.launchpad.net/bugs/134807
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs