[cfe-dev] new warnings in r58279

Mike Stump mrs at apple.com
Mon Oct 27 15:12:35 PDT 2008


HeaderMap.cpp: In member function ‘clang::HMapBucket  
clang::HeaderMap::getBucket(unsigned int) const’:
HeaderMap.cpp:137: warning: ‘Result.clang::HMapBucket::Suffix’ may be  
used uninitialized in this function
HeaderMap.cpp:137: warning: ‘Result.clang::HMapBucket::Prefix’ may be  
used uninitialized in this function

GRExprEngine.cpp: In member function ‘void  
clang::GRExprEngine::VisitBinaryOperator(clang::BinaryOperator*,  
clang::ExplodedNode<clang::GRState>*,  
clang::ExplodedNodeSet<clang::GRState>&)’:
GRExprEngine.cpp:2182: warning: dereferencing type-punned pointer will  
break strict-aliasing rules
GRExprEngine.cpp:2184: warning: dereferencing type-punned pointer will  
break strict-aliasing rules

SVals.cpp: In member function ‘const clang::SymbolID*  
clang::SVal::symbol_begin() const’:
SVals.cpp:33: warning: dereferencing type-punned pointer will break  
strict-aliasing rules
SVals.cpp:35: warning: dereferencing type-punned pointer will break  
strict-aliasing rules



More information about the cfe-dev mailing list