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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs