This is the mail archive of the guile-gtk@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compile error with gtk-1.2.7


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]