Image hacking (2.2 :)

Ned Konz ned at squeakland.org
Fri Feb 11 20:48:09 UTC 2005


On Friday 11 February 2005 5:25 am, Markus Fritsche wrote:

> If I import code in 2.2 which comes from newer squeak, but I keep
> getting errors like
> "primitiveGetMacintoshFileTypeAndCreatorFrom: aFileName
>  <primitive: Integer expected
> ->'primitiveGetMacintoshFileTypeAndCreatorFrom' module:
> 'InternetConfigPlugin'>
>  ^'********' copy "
>
> I've already pulled the new compiler to that image (tricky thing). What
> else do I have to look for?

The named primitives are newer than 2.2.

You could just remove the calls to named primitives (if possible), or replace 
them with the appropriate numbered ones.

Also watch out for UTF-8 encoding.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list