Re: cannot convert `_objc_class*' to `objc_object*' in argument passing
Re: cannot convert `_objc_class*' to `objc_object*' in argument passing
- Subject: Re: cannot convert `_objc_class*' to `objc_object*' in argument passing
- From: email@hidden
- Date: Wed, 4 Sep 2002 16:25:38 -0400
cannot convert `_objc_class*' to `objc_object*' in argument passing
After upgrading to Mac OS X 10.2, and installing the new Dev tools,
this warning appeared in one implementation file only (and the
problem-causing code worked in other files when copied directly). This
code is as follows (hold your breath):
dictionary = [NSDictionary dictionary]; //Where this is in a method,
and dictionary
//is a member of type "id."
This was substituted with this new code:
//dictionary = [NSDictionary dictionary]; //Where this is in a method,
and dictionary
//is a member of type "id."
NSDictionary* dict; //Now a local variable
dict = [NSDictionary dictionary];
But it still causes the same error (and only in this file). Before
trying to piece this code back together, I would like to know if
anybody else has experienced this and how it can be fix it.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.