Clang’s New -Wpartial-availability
Clang (via Matt Stevens): This warns when using decls that are not available on all deployment targets. For example, a call to – (void)ppartialMethod __attribute__((availability(macosx,introduced=10.8))); will warn if -mmacosx-version-min is set to less than 10.8. To silence the warning, one has to explicitly redeclare the method like so: @interface Whatever(MountainLionAPI) – (void)ppartialMethod; @end This way, … Continue reading Clang’s New -Wpartial-availability
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed