[kaffe] Big pile of warnings fixes

Eric Anholt eta at lclark.edu
Wed Nov 3 15:46:51 PST 2004


Just in case someone was sitting around with nothing to do, here's a big
pile of diffs, mostly warning fixes.

- kaffe-warn-AccessController.c.diff
Warnings fixes which probably matter on 64-bit (assuming that a
non-prototyped function returns int, instead of pointer).

- kaffe-warn-jni.c.diff
Clean up cast warnings.

- kaffe-warn-main.c.diff
Remove some unused variables

- kaffe-warn-mem.c.diff
Add a missing initializer to quiet the compiler.

- kaffe-warn-getaddrinfo.c.diff
- kaffe-warn-soft.c.diff
- kaffe-warn-access.c.diff
const cleanups to shut the compiler up some more.

- kaffe-warn-native-wrapper.c.diff
Don't try to return something from a void function.

- kaffe-format-code.c.diff
Cast a uintp to a long and use %ld to print instead of %d.

- kaffe-warn-classMethod.c.diff
Cast appropriately to avoid a warning.

And one non-warnings diff:
- kaffe-preempt-timeout.diff
At least on my AMD64, with intrp, it runs too slowly to get to threads 4
and 5, but a few more seconds make it work.  I'm not sure if intrp is to
blame for just being slow, or if something is broken with our threading
there.  The i386 with the same threading library seems happy, though.

(Now, down to 3 reg test failures)

-- 
Eric Anholt                                eta at lclark.edu          
http://people.freebsd.org/~anholt/         anholt at FreeBSD.org
           Thank goodness for the 22nd Amendment

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-warn-AccessController.c.diff
Type: text/x-patch
Size: 1265 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0022.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-warn-jni.c.diff
Type: text/x-patch
Size: 838 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0023.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-warn-main.c.diff
Type: text/x-patch
Size: 544 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0024.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-warn-mem.c.diff
Type: text/x-patch
Size: 366 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0025.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-format-code.c.diff
Type: text/x-patch
Size: 722 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0026.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-preempt-timeout.diff
Type: text/x-patch
Size: 554 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0027.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-warn-access.c.diff
Type: text/x-patch
Size: 539 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0028.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-warn-classMethod.c.diff
Type: text/x-patch
Size: 648 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0029.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-warn-getaddrinfo.c.diff
Type: text/x-patch
Size: 1009 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0030.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-warn-native-wrapper.c.diff
Type: text/x-patch
Size: 508 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0031.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-warn-soft.c.diff
Type: text/x-patch
Size: 1468 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041103/1a218144/attachment-0032.bin 


More information about the kaffe mailing list