2009/4/11 Trygve Inda <cocoa...@xericdesign.com>: > [NSThread detachNewThreadSelector:@selector(threadMethod:) toTarget:self > withObject:@selector(myMethod)];
This should have produced a warning like this: warning: passing argument 3 of ‘detachNewThreadSelector:toTarget:withObject:’ from incompatible pointer type If it didn't, you should find out why, and fix it. If it did, then you should pay attention to them. Warnings are the compiler's way of saying that you probably screwed something up. You should turn on every sane warning available (I personally use -W -Wall -Wno-unused-parameter as my warning flags) and then ensure that all of your code compiles without producing any warnings. Mike _______________________________________________ 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