[Kaffe] Compile error from CVS
dejong at cs.umn.edu
Thu Oct 14 21:12:16 PDT 1999
I tried to compile Kaffe from the CVS today (Thu Oct 14)
on a Solaris Sparc 5.6 system. I got this error while building.
/soft/X11R6.3/include/X11/Xutil.h:903: warning: type defaults to `int' in declar
ation of `XXorRegion'
In file included from ../../../../../libraries/clib/awt/X/tlk.c:14:
../../../../../libraries/clib/awt/X/toolkit.h:38: conflicting types for `swab'
/usr/include/stdlib.h:154: previous declaration of `swab'
make: *** [tlk.lo] Error 1
make: Leaving directory `/project/neon/users/mo/kaffe/build/libraries/clib/aw
make: *** [install-recursive] Error 1
extern void swab(const char *, char *, int);
But inside toolkit.h it is defined like this.
mo(~)% grep swab neon/kaffe/libraries/clib/awt/X/toolkit.h
extern void swab(const void *from, void *to, size_t n);
I am not sure what is going on here. Could someone who knows
more about this area shed some light on it?
More information about the kaffe