On Nov 19, 2008, at 11:40 PM, Jerry Krinock wrote:
Build and run the above project. No warnings, no errors, no
exceptions, but the output logs:
JunkProps[7449:10b] foo.bar = 0
Remove the old getter declaration under // Whoops, and it's fixed:
JunkProps[7462:10b] foo.bar = 600
If I change 'bar' to be an NSString* instead of an NSInteger, the
extra setter does not cause this problem.
I cannot think of any sensible explanation for this.
This looks like a codegen bug. I can reproduce the problem on both
i386 and PPC when compiling with GCC 4.0, but not with GCC 4.2.
Jim
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]