[Openmcl-devel] ffi-gen problem with va_list
Andrew P. Lentvorski, Jr.
bsder at mail.allcaps.org
Sun Aug 15 18:21:37 PDT 2004
On Aug 15, 2004, at 5:52 PM, Andrew P. Lentvorski, Jr. wrote:
> I'm getting errors like the following when I try to use ffi-gen:
>
> /home/devel/include/glib-2.0/gobject/gsignal.h:116: parse error before
> `va_list'
>
> Any suggestions on what I need to do to get around this?
Sorry to reply to my own message, but the root cause appears to be in
stdarg.h.
In file included from /home/devel/include/glib-2.0/glib/gutils.h:31,
from /home/devel/include/glib-2.0/glib/gstring.h:32,
from /home/devel/include/glib-2.0/glib/giochannel.h:32,
from /home/devel/include/glib-2.0/glib.h:45,
from /home/devel/include/gtk-2.0/gdk/gdktypes.h:32,
from /home/devel/include/gtk-2.0/gdk/gdkcolor.h:4,
from /home/devel/include/gtk-2.0/gdk/gdk.h:30,
from /Users/devel/include/gtk-2.0/gtk/gtk.h:31:
/usr/include/gcc/darwin/3.3/stdarg.h:0: warning: unrecognized text at
end of #line
/usr/include/gcc/darwin/3.3/stdarg.h:18: warning: unrecognized text at
end of #line
/usr/include/gcc/darwin/3.3/stdarg.h:48: parse error before
`__gnuc_va_list'
/usr/include/gcc/darwin/3.3/stdarg.h:48: warning: data definition has
no type or storage class
/usr/include/gcc/darwin/3.3/stdarg.h:95: warning: unrecognized text at
end of #line
/usr/include/gcc/darwin/3.3/stdarg.h:110: parse error before `va_list'
/usr/include/gcc/darwin/3.3/stdarg.h:110: warning: data definition has
no type or storage class
Referring to this stuff:
/* Define __gnuc_va_list. */
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
typedef __builtin_va_list __gnuc_va_list;
#endif
More information about the Openmcl-devel
mailing list