GCC 3.0 Bug
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.