[kaffe] NIO stuff broken on several platforms!

Riccardo zuse at libero.it
Mon Apr 12 13:02:02 PDT 2004


Hey,

here it is on NetBSD/sparc 1.6.2:
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c:258: warning: 
passing arg 2 of pointer to function with different width due to 
prototype
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c: In function 
`Java_gnu_java_nio_channels_FileChannelImpl_mapImpl':
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c:308: parse error 
before `int'
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c:313: `nativeMode' 
undeclared (first use in this function)
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c:313: (Each 
undeclared identifier is reported only once
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c:313: for each 
function it appears in.)


and here on MkLinux/ppc R2RC2
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c: In function 
`Java_gnu_java_nio_channels_FileChannelImpl_mapImpl':
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c:308: parse error 
before `int'
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c:313: `nativeMode' 
undeclared (first use in this function)
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c:313: (Each 
undeclared identifier is reported only once
./../../../kaffe/libraries/clib/nio/FileChannelImpl.c:313: for each 
function it appears in.)

-Riccardo





More information about the kaffe mailing list