This is the mail archive of the
guile-gtk@sourceware.cygnus.com
mailing list for the Guile project.
Re: compile error with gtk-1.2.7
- To: John Fremlin <vii at altern dot org>
- Subject: Re: compile error with gtk-1.2.7
- From: Marius Vollmer <mvo at zagadka dot ping dot de>
- Date: 12 Mar 2000 20:44:18 +0100
- Cc: guile-gtk at sourceware dot cygnus dot com
- References: <m266usupvn.fsf@boreas.southchinaseas>
John Fremlin <vii@altern.org> writes:
> guile-gtk.h:235: conflicting types for `gdk_color_copy'
> /usr/local/include/gdk/gdk.h:556: previous declaration of `gdk_color_copy'
Current CVS versions of guile-gtk should have this code in
guile-gtk.h:
#ifndef HAVE_GDK_COLOR_COPY
GdkColor* gdk_color_copy (GdkColor *);
void gdk_color_free (GdkColor *);
#endif
Thus, when Gtk+ contains gdk_color_copy itself, guile-gtk should not
declare its own prototype. This is a fairly recent change, from
2000-02-27.
What version of guile-gtk are you using?