gb at clozure.com
Thu Dec 18 13:49:12 PST 2008
And the different behavior is a difference between 1.2 and the 1.3
prerelease in the trunk, not between x8632/x8664.
On Thu, 18 Dec 2008, R. Matthew Emerson wrote:
> On Dec 18, 2008, at 3:55 PM, Hongbin Wang wrote:
>> I'm still running Tiger on my intel macbook pro. I'm glad to notice
>> there is a prerelease of cclx8632. It runs fine and I can load cocoa-
>> But when I do
>> (#/stringWithString: ns:ns-string "hello")
>> it complains,
>>> Error: value "hello" is not of the expected type (OR MACPTR NULL).
>>> While executing: CCL::%COERCE-TO-ADDRESS, in process Listener(5).
>>> Type :POP to abort, :R for a list of available restarts.
>>> Type :? for other options.
>> The same form returns ok when I test it with cclx8664 on my another
>> leopard mac.
>> Is this a bug?
> The Objective-C bridge doesn't automatically coerce lisp strings to
> NSStrings any more.
> (#/stringWithString: ns:ns-string #@"hello")
> would work. The #@"some string" is like @"some string" in Objective-
> C: both denote an NSString.
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
More information about the Openmcl-devel