Squeak VM for Darwin/X11R6 for PPC?
John M McIntosh
johnmci at smalltalkconsulting.com
Wed Apr 10 19:52:37 UTC 2002
>This turned out to be quite bizzare.
>
>The line
>
>register char * localSP SP_REG;
>
>got a syntax error. The two lines:
>
>register char * localSP;
>register char * SP_REG;
>
If you look in sqGnu.h you'll see
#if defined(PPC) || defined(_POWER) || defined(_IBMR2) || defined (__APPLE__)
I'd bet the compiler under Darwin isn't defining one of those above. Thus the
#define for SP_REG never happens and then we think SP_REG is a variable.
Maybe it defines _POWER_?
--
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
More information about the Squeak-dev
mailing list
|