[cfe-commits] r149008 - in /cfe/trunk: lib/StaticAnalyzer/Checkers/CMakeLists.txt lib/StaticAnalyzer/Checkers/Checkers.td lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp test/Analysis/CFContainers.mm

Anna Zaks ganna at apple.com
Wed Jan 25 20:25:54 PST 2012


Fixed in 149042.

Anna.
On Jan 25, 2012, at 7:46 PM, Anna Zaks wrote:

> 
> On Jan 25, 2012, at 6:27 PM, NAKAMURA Takumi wrote:
> 
>>> error: 'warning' diagnostics expected but not seen:
>>> Line 96: The first argument to 'CFArrayCreate' must be a C array of
>>> pointer-sized
>>> Line 102: The first argument to 'CFSetCreate' must be a C array of
>>> pointer-sized values
>>> Line 125: The second argument to 'CFDictionaryCreate' must be a C
>>> array of pointer-sized values
>>> 3 errors generated.
>> 
>> Anna, it seems they might be 32bit-incompatible.
>> They can be reproduced with "-triple i686-darwin".
>> 
> 
> Yes! Of cause they are. This only if sizeof(int) != sizeof a pointer.
> 
> Thanks for pointing this out. I'll fix asap.
> Anna.
>> ...Takumi
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list