[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 19:46:51 PST 2012


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




More information about the cfe-commits mailing list