[cfe-dev] new warnings
Mike Stump
mrs at apple.com
Wed Jan 16 12:27:03 PST 2008
I think these are new:
llvm[1]: Compiling CFG.cpp for Release build
CFG.cpp: In member function ‘const std::pair<clang::CFGBlock*,
clang::CFGBlock*>* clang::CFG::getBlockEdgeImpl(const
clang::CFGBlock*, const clang::CFGBlock*)’:
CFG.cpp:1040: warning: dereferencing type-punned pointer will break
strict-aliasing rules
llvm[1]: Compiling ExplodedGraph.cpp for Release build
ExplodedGraph.cpp: In member function ‘clang::ExplodedNodeImpl**
clang::ExplodedNodeImpl::NodeGroup::begin() const’:
ExplodedGraph.cpp:56: warning: dereferencing type-punned pointer will
break strict-aliasing rules
ExplodedGraph.cpp: In member function ‘clang::ExplodedNodeImpl**
clang::ExplodedNodeImpl::NodeGroup::end() const’:
ExplodedGraph.cpp:63: warning: dereferencing type-punned pointer will
break strict-aliasing rules
built with gcc-4.2.1 (Apple Inc. build 5551).
More information about the cfe-dev
mailing list