Re: Latest SQLite vs. Xcode's Analyze : 61 issues [SOLVED]
Re: Latest SQLite vs. Xcode's Analyze : 61 issues [SOLVED]
- Subject: Re: Latest SQLite vs. Xcode's Analyze : 61 issues [SOLVED]
- From: Jerry Krinock <email@hidden>
- Date: Wed, 26 Sep 2012 13:32:08 -0700
Well, again, I'm not going to submit any patches to sqlite.org since since the sqlite developer is way smarter than me, and has clearly said "No thanks" in his documentation.
* * *
But I found that Xcode does provide a sensible solution to this issue of Analyze Issues in open-source components. Consider the two kinds of open-source components.
• Kind 1 is open-source components like sqlite, where I download source code text files and insert them into my own Xcode project. For this kind, I enter the following options into Project ▸ Target ▸ Build Phases ▸ Compile Sources ▸ <file> ▸ Compiler Options
-w -Xanalyzer -analyzer-disable-checker
This causes all Analyze Issues, and also regular compiler warnings, to be suppressed.
• Kind 2 is open-source components like Sparkle, where I download an Xcode project. For this kind, since the author is obviously building in Xcode and must be getting the same Analyzer Issues, I should submit patches to fix them.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden