[gtkada] GTKAda install problem on RH 9

Preben Randhol randhol at pvv.org
Thu Jul 17 15:03:38 CEST 2003


"Marc A. Criley" <mcq95 at earthlink.net> wrote on 17/07/2003 (14:29) :
> /usr/include/gtk-2.0/gtk/gtk.h:31, from gtkplot.c:24:
> /usr/include/glib-2.0/glib/gmessages.h:116: warning: invalid character
> in macro parameter name /usr/include/glib-2.0/glib/gmessages.h:116:
> badly punctuated parameter list in `#define'
> /usr/include/glib-2.0/glib/gmessages.h:119: warning: invalid character
> in macro parameter name /usr/include/glib-2.0/glib/gmessages.h:119:
> badly punctuated parameter list in `#define'
> /usr/include/glib-2.0/glib/gmessages.h:122: warning: invalid character
> in macro parameter name /usr/include/glib-2.0/glib/gmessages.h:122:
> badly punctuated parameter list in `#define'
> /usr/include/glib-2.0/glib/gmessages.h:125: warning: invalid character
> in macro parameter name /usr/include/glib-2.0/glib/gmessages.h:125:
> badly punctuated parameter list in `#define' make[2]: *** [gtkplot.o]
> Error 1

I think I also got something like that when I tried 3.15p not sure. Does
the lines 114-126 look like this:


114 #define g_error(...)    g_log (G_LOG_DOMAIN,         \
115                                G_LOG_LEVEL_ERROR,    \
116                                __VA_ARGS__)
117 #define g_message(...)  g_log (G_LOG_DOMAIN,         \
118                                G_LOG_LEVEL_MESSAGE,  \
119                                __VA_ARGS__)
120 #define g_critical(...) g_log (G_LOG_DOMAIN,         \
121                                G_LOG_LEVEL_CRITICAL, \
122                                __VA_ARGS__)
123 #define g_warning(...)  g_log (G_LOG_DOMAIN,         \
124                                G_LOG_LEVEL_WARNING,  \
125                                __VA_ARGS__)
126 #elif defined(G_HAVE_GNUC_VARARGS)

in gmessages.h ?

I have compiled on Debian GtkAda with both Gnat 3.14p and 3.3

-- 
Preben Randhol -------------- http://www.pvv.org/~randhol/Ada95 --
                 «For me, Ada95 puts back the joy in programming.»



More information about the gtkada mailing list