[LLVMbugs] [Bug 11348] Running scan-build on a ARC project results in tons of errors

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 26 15:28:08 PST 2012


Ted Kremenek <kremenek at apple.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #7 from Ted Kremenek <kremenek at apple.com> 2012-01-26 17:28:08 CST ---
(In reply to comment #6)
> Hi, I have had the same issue with ARC'd code (I raised bug 11845 before I
> realised this was a duplicate). When I apply your latest revision I get this
> issue:
> error: -fobjc-arc is not supported with fragile abi
> I therefore modified ccc-analyzer as follows:-
> added in '-fobjc-abi-version' => 2 in the CompileOptionMap
> This fixed the issue although the analyse took a long time (seems to firstly
> compile all the sources, then run analyse on all sources).

-fobjc-abi-version always has '=', so it should be:

   '-fobjc-abi-version' => 0

Does that not work?

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list