Hi Rolf,
My extensions unit would have appropriate generic style methods that
contained pragma warning exclusion wrappers:

#pragma warning disable
// Code that runs iOS 5 specific code when targetting iOS4
#pragma warning restore

Solution wide I would enable break on warnings (its a VS option but Im
guessing Mono has it too, or break on specific warnings etc).

Cheers
Hairy

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Can-MonoTouch-give-compiler-warnings-when-using-API-that-requires-a-higher-iOS-version-then-Im-targe-tp4445734p4450365.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to