[kaffe] More amd64, warning fixes, cleanup
Eric Anholt
eta at lclark.edu
Fri Oct 22 00:05:47 PDT 2004
AMD64:
1) kaffe-support-cpp-2.diff: Fixup for the commit to avoid undefined
macro warnings for PROMOTE_* an NO_HOLES, because defined(MACRO) is true
even if MACRO is 0. Set the macros to 0 when they're unset rather than
using defined().
2) kaffe-promote-holes.diff: Move PROMOTE_* / NO_HOLES to common.h
instead of sysdepCallMethod.h (sysdepCallMethod isn't always included by
common.h)
Warnings:
3) kaffe-stackTrace-proto.diff: kaffe/kaffevm/exception.c uses
printStackTrace, so prototype it publically.
4) kaffe-support.h-replacechar.diff: it's defined only statically, so
remove from public header
5) kaffe-verify3a.c.diff: Fixes some prototype-related warnings by
including relevant headers.
Cleanup:
6) kaffe-internalthreadsdefs.diff: USE_INTERNAL_THREADS appears to be
unused, so gc it from config/
With no patches or all but #2, I have 12/144 regression test failures.
With #2 thrown in the mix, I'm down to 4 errors and I can run my
classes. (no printf diffs were needed, since fixing arg passing means
printf doesn't get absurd arguments on a regular basis).
--
Eric Anholt eta at lclark.edu
http://people.freebsd.org/~anholt/ anholt at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-internalthreadsdefs.diff
Type: text/x-patch
Size: 6942 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041022/9169d42a/attachment-0012.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-promote-holes.diff
Type: text/x-patch
Size: 2306 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041022/9169d42a/attachment-0013.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-stackTrace-proto.diff
Type: text/x-patch
Size: 1268 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041022/9169d42a/attachment-0014.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-support-cpp-2.diff
Type: text/x-patch
Size: 1919 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041022/9169d42a/attachment-0015.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-support.h-replacechar.diff
Type: text/x-patch
Size: 638 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041022/9169d42a/attachment-0016.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaffe-verify3a.c.diff
Type: text/x-patch
Size: 537 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20041022/9169d42a/attachment-0017.bin
More information about the kaffe
mailing list