On Jun 1, 2009, at 3:33 PM, Dave DeLong wrote:

Is this expected/documented behavior?


Yes, because the preprocessor relies on the commas and isn't aware of the underlying language. Use NSAssert1/NSAssert2, etc. or wrap the call in parentheses as already suggested.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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