• 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
GCC 3.0 Bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GCC 3.0 Bug


  • Subject: GCC 3.0 Bug
  • From: email@hidden
  • Date: Tue, 23 Jul 2002 23:33:04 -0400

With GCC 3.0 enabled, the compiler gives this error:

cannot convert `_objc_class*' to `objc_object*' in argument passing

for this statement:

dictionary = [NSDictionary dictionary];

which is in a method implemented in a category of a class

The code would compile with GCC 3.0 when the method was moved from the category to the class definition.

IMPORTANT: When GCC 3.0 was not enabled, the code compiled as it should have.
_______________________________________________
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.
  • Prev by Date: Programmatic mount of AFP volumes?
  • Next by Date: CF interacting with NS
  • Previous by thread: Re: Programmatic mount of AFP volumes?
  • Next by thread: CF interacting with NS
  • Index(es):
    • Date
    • Thread