[Kaffe] Compile error from CVS
Moses DeJong
dejong at cs.umn.edu
Thu Oct 14 21:12:16 PDT 1999
Hi all.
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[4]: *** [tlk.lo] Error 1
make[4]: Leaving directory `/project/neon/users/mo/kaffe/build/libraries/clib/aw
t/X'
make[3]: *** [install-recursive] Error 1
inside /usr/include/stdlib.h:154
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?
thanks
mo dejong
More information about the kaffe
mailing list