• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cannot convert `_objc_class*' to `objc_object*' in argument passing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >cannot convert `_objc_class*' to `objc_object*' in argument passing (From: email@hidden)

  • Prev by Date: Re: Tokenizing a returned path?
  • Next by Date: Re: NSDrawer and preferredEdge
  • Previous by thread: cannot convert `_objc_class*' to `objc_object*' in argument passing
  • Next by thread: Re: Building ObjC and C++ fails on 10.2
  • Index(es):
    • Date
    • Thread