[kaffe] Kaffe CVS: kaffe dalibor

Ito Kazumitsu kaz at maczuka.gcd.org
Thu Dec 5 07:14:41 PST 2002


>>>>> ":" == Kaffe CVS <cvs-commits at kaffe.org> writes:

:> * config/config-mem.h: changed prototype for swab to use ssize_t
:> as in the Open Group Base Specification. Still works on Linux
:> with X based AWT and Qt based AWT. The problem is that gcc can't
:> see the swab declaration in <unistd.h> while g++ can, for some
:> reason. So g++ bails out with an error message about a bad
:> redeclaration of swab. I hope this works on FreeBSD as well, as
:> my last swab change broke the nightly builds.

On FreeBSD 3.1-RELEASE, make failed.  I think I should upgrade to
the newest release if I have time.

make[2]: Entering directory `/newdisk/kaz/work/kaffe/kaffe/kaffeh'
gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../kaffevm -I./../kaffevm -DKAFFEH  -DKVER=1.1.x-cvs -I/newdisk/kaz/work/kaffe/./kaffe/kaffevm -I/newdisk/kaz/work/kaffe/./kaffe/kaffevm/systems/unix-jthreads -I../../config -I../../include   -g -O2 -Wall -Wstrict-prototypes -c inflate.c
In file included from ./../kaffevm/inflate.c:19,
                 from inflate.c:1:
../../config/config-mem.h:52: conflicting types for `swab'
/usr/include/string.h:90: previous declaration of `swab'
make[2]: *** [inflate.o] Error 1
make[2]: Leaving directory `/newdisk/kaz/work/kaffe/kaffe/kaffeh'




More information about the kaffe mailing list