Deployment target for a Leopard only app
Deployment target for a Leopard only app
- Subject: Deployment target for a Leopard only app
- From: "Dave Verwer" <email@hidden>
- Date: Wed, 6 Feb 2008 10:43:45 +0000
Hi
I am developing an app which is only really useful if you have Leopard
so I am happy to make it Leopard only but if I change the deployment
target to 10.5 in the project build settings then people running tiger
or below just get a couple of dock bounces and then the app crashes
silently. To fix this I set the deployment target to 10.3 while
keeping the target SDK 10.5 and implemented a simple version check[1]
in main(). This works great, but now I get warnings like this:
warning: Mac OS X version 10.5 or later is needed for use of
foreach-collection-statement
I have had a look in the GCC 4.0 Warnings options and I dont see
anything that would turn these off. Is what I am doing best practice?
If so, can I turn those specific warnings off with a #pragma?
Cheers
Dave
[1] - http://pastie.caboo.se/private/glqmeydmzn2dsgqobvofvg
--
e-mail: email@hidden
web: http://shinydevelopment.com
Shiny Development Ltd. is registered in England, Registration Number:
05805802. Registered Office: 4 Claridge Court, Lower Kings Road,
Berkhamsted, Herts., HP4 2AF.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden