On Jan 3, 2010, at 5:26 PM, Scott Ribe wrote:
>> Easily fixed:
>> 
>> #define GDRelease(x) [(x) release], (x) = nil, (void)0
> 
> Not really a good fix; compiler error is preferable to tweaking your macro
> to allow compilation of nonsense ;-)

Actually this causes a compiler error if you try "if (GDRelease(...))".

--Andy

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to