I have three related questions. I’d like to suppress a particular warning message in the source file. In gnu it could be done as follows:

#pragma Warnings(Off)
               NSArray *languages = [NSLocale preferredLanguages];
#pragma Warnings(On)

Is there a way to do this in xcode with #pragma?

Also, can anyone point me to a list of the #pragma’s for xcode?

Finally, I am doing this because the preferredLanguages method is specified to be an OS 10.5+ method and the project I am working on is being built on the 10.4 SDK. Nonetheless, on the 10.4 machine where I tested this, the method works. Does anybody know what the story is with this method and 10.4? Is this method actually supported by 10.4 or is it something that happens to be supported if certain other software has been installed on a 10.4 platform?

Thanks,

Jay_______________________________________________

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