These warnings are due comparison between pointers (most char *) and integers (most sqInt). For example:
generated/64/vm/src/gcc3x-cointerp.c:29031:31:
warning: comparison between pointer and integer ('char *' and 'usqInt' (aka 'unsigned long')) [-Wpointer-integer-compare]
if (GIV(instructionPointer) == (ceReturnToInterpreterPC())) {
These warnings are due comparison between pointers (most
char *
) and integers (mostsqInt
). For example:It is because all the pointers to the stack are declared as
char *
... check the comment on this line: https://github.com/pharo-project/pharo-vm/blob/5aa6b45578542b8e7425466e94859f2cc01ab031/smalltalksrc/VMMaker/StackInterpreter.class.st#L537-L540The problem changing that line to
#usqInt
makes compilation errors.