GTK 2.0 and egcs 2.91.66 - problem



Hi,

When I try to compile anything (eg. arrow.c from examples) I get errors. This is a problem with incorrectly set G_HAVE_ISO_VARARGS. Is this compiler no longer supported?
Output attached below:

[root venus arrow]# make
gcc arrow.c -o arrow  `pkg-config gtk+-2.0 --cflags --libs`
In file included from /usr/include/glib-2.0/glib.h:50,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from arrow.c:2:
/usr/include/glib-2.0/glib/gmessages.h:108: warning: invalid character in macro parameter name /usr/include/glib-2.0/glib/gmessages.h:108: badly punctuated parameter list in `
#define'
/usr/include/glib-2.0/glib/gmessages.h:111: warning: invalid character in macro parameter name /usr/include/glib-2.0/glib/gmessages.h:111: badly punctuated parameter list in `
#define'
/usr/include/glib-2.0/glib/gmessages.h:114: warning: invalid character in macro parameter name /usr/include/glib-2.0/glib/gmessages.h:114: badly punctuated parameter list in `
#define'
/usr/include/glib-2.0/glib/gmessages.h:117: warning: invalid character in macro parameter name /usr/include/glib-2.0/glib/gmessages.h:117: badly punctuated parameter list in `
#define'
make: *** [arrow] Error 1
[root venus arrow]# [root venus arrow]# Regards,

Olaf Fraczyk





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]