BugshotKit icon indicating copy to clipboard operation
BugshotKit copied to clipboard

replacing deprecated methods per analyzer warning notes

Open rcarlsen opened this issue 10 years ago • 2 comments

The static analyzer was complaining about aslresponse_next() and aslresponse_free(); the deprecation comments point out appropriate replacements, which I've substituted here.

rcarlsen avatar Sep 22 '14 21:09 rcarlsen

It appears that the Apple header incorrectly describes asl_next() and asl_release() being available in iOS 7.0. They are not defined in the 7.0 SDK header (/usr/include/asl.h).

I'll update this PR with an additional compile and run-time check.

rcarlsen avatar Sep 26 '14 14:09 rcarlsen

I've reverted to the deprecated methods but silence the warning, along with a lengthy comment about the issue to alert the future us' about why it was done.

rcarlsen avatar Sep 30 '14 03:09 rcarlsen