[LLVMbugs] [Bug 13718] New: scan-build not picking up -fno-objc-arc flags
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Aug 28 13:22:38 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13718
Bug #: 13718
Summary: scan-build not picking up -fno-objc-arc flags
Product: clang
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
AssignedTo: kremenek at apple.com
ReportedBy: mandys.inbox at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Hi I have an XCode project which is ARCd but uses some 3rd party (AFNetworking)
classes which are not ARCd. I have specified the -fno-objc-arc flag against
these files in my Xcode project however when I run scan-build I get a number of
errors such as:-
error: 'autorelease' is unavailable: not available in automatic reference
counting mode
I can see that scan-build is using -fobjc-arc when compiling / checking these
classes which is incorrect.
Please could someone advise how I can get scan-build to pick up the correct
settings?
FYI I am using checker-267 version downloaded from
http://clang-analyzer.llvm.org/
Many thanks
Mandy
--
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