[Openmcl-devel] Snow Leopard snafu

Greg Pfeil greg at clozure.com
Tue Sep 1 16:40:35 UTC 2009


On 1 Sep 2009, at 12:20, Ron Garret wrote:

> OK, I get that I'm being a moron and I'm missing something obvious.
> But my house nearly burned down three days ago so I'm not really
> firing on all cylinders at the moment and would appreciate it if you
> could cut me a little slack here.  What is «the "with" component»?

The make-instance arguments get concatenated to create the Obj-C init  
message name

	(make-instance 'foo :string "") becomes initString:

while

	(make-instance 'foo :with-string "") becomes initWithString:

The latter looks like how most init messages are named. So you  
probably just need to chang :string to :with-string, and the behavior  
shouldn't have anything to do with Snow Leopard.

> On Sep 1, 2009, at 2:52 AM, Gary Byers wrote:
>
>> As if that wasn't bad enough, that evil old Snow Leopard has somehow
>> convinced Leopard to behave the same way.  Retroactively.  And it's
>> managed to wipe out my memory of the "with" component ever having
>> been optional, though I have a disturbing sense of having mistakenly
>> claimed that it was in email a few months ago.
>>
>> All this for only US$29.  I'd like to see Windows 7 try to top that!
>>
>>
>> On Tue, 1 Sep 2009, Ron Garret wrote:
>>
>>> I upgraded to Snow Leopard, and now this happens:
>>>
>>> ? (make-instance gui::ns-lisp-string :string (coerce "foo" 'simple-
>>> base-string))
>>>> Error: Unknown ObjC init message: "initString:"
>>>
>>> rg
>>>
>>> _______________________________________________
>>> Openmcl-devel mailing list
>>> Openmcl-devel at clozure.com
>>> http://clozure.com/mailman/listinfo/openmcl-devel
>>>
>>>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list