redefinitions error on VM generated with SDL patch
Paul Dufresne
dufrp at hotmail.com
Fri Nov 12 10:19:56 PST 2004
This is about redefinitions error on VM generated with SDL patch.
Although that the generation of the VM have gone without problem, when I
come
to make VM=sdl, I got lot of error on redefinitions. Here are the first
ones:
../../../../../sdl.c:42: error: redefinition of `Byte'
../../../../../sdl.h:136: error: `Byte' previously declared here
../../../../../sdl.c:43: error: redefinition of `Word'
../../../../../sdl.h:54: error: `Word' previously declared here
../../../../../sdl.c:45: error: redefinition of `struct ObjectPayload'
../../../../../sdl.c:50: error: redefinition of `struct ObjectHeader'
../../../../../sdl.c:56: error: redefinition of `Bool'
../../../../../sdl.h:135: error: `Bool' previously declared here
../../../../../sdl.c:58: error: redefinition of `struct BreakEntry'
../../../../../sdl.c:62: error: redefinition of `ObjectPointer'
../../../../../sdl.h:55: error: `ObjectPointer' previously declared here
../../../../../sdl.c:64: error: redefinition of `struct OopArray'
../../../../../sdl.c:71: error: redefinition of `struct SlotEntry'
../../../../../sdl.c:76: error: redefinition of `struct ObjectHeap'
../../../../../sdl.c:105: error: redefinition of `struct Interpreter'
...
../../../../../sdl.c:224: error: redefinition of `struct ByteArray'
../../../../../sdl.c:231: error: redefinition of `struct RoleTable'
../../../../../sdl.c:280: warning: type mismatch with previous implicit
declaration
../../../../../sdl.h:696: warning: previous implicit declaration of
`PSObjectHeap_specialAt_'
../../../../../sdl.c:280: warning: `PSObjectHeap_specialAt_' was previously
implicitly declared to return `int'
../../../../../sdl.c:368: warning:
`PSInterpreter_sendMessage_withOptionals_' was declared implicitly `extern'
and later `static'
Pupeno, have you seen this before?
I don't feel to well with this kind of C problems.
--Paul
More information about the Slate
mailing list