[cfe-dev] can't build?

Ted Kremenek kremenek at apple.com
Thu Apr 3 12:54:01 PDT 2008


Thanks Mike.  I've submitted a patch that hopefully fixes this.  It  
builds fine with gcc-4.0.  It looks like your version of gcc is  
complaining about the typedefs being private.

On Apr 3, 2008, at 12:11 PM, Mike Stump wrote:

> /Volumes/mrs5/net/llvm/llvm/tools/clang/lib/Analysis/../../include/
> clang/Analysis/PathSensitive/GRExprEngine.h: In function ‘unsigned int
> clang::RunGRSimpleVals(clang::CFG&, clang::Decl&, clang::ASTContext&,
> clang::Diagnostic&, clang::PathDiagnosticClient*, bool, bool)’:
> /Volumes/mrs5/net/llvm/llvm/tools/clang/lib/Analysis/../../include/
> clang/Analysis/PathSensitive/GRExprEngine.h:89: error: ‘typedef class
> llvm::DenseMap<clang::ExplodedNode<clang::ValueState>*, clang::Expr*,
> llvm::DenseMapInfo<clang::ExplodedNode<clang::ValueState>*>,
> llvm::DenseMapInfo<clang::Expr*> > clang::GRExprEngine::UndefArgsTy’
> is protected
> GRSimpleVals.cpp:233: error: within this context
> /Volumes/mrs5/net/llvm/llvm/tools/clang/lib/Analysis/../../include/
> clang/Analysis/PathSensitive/GRExprEngine.h:89: error: ‘typedef class
> llvm::DenseMap<clang::ExplodedNode<clang::ValueState>*, clang::Expr*,
> llvm::DenseMapInfo<clang::ExplodedNode<clang::ValueState>*>,
> llvm::DenseMapInfo<clang::Expr*> > clang::GRExprEngine::UndefArgsTy’
> is protected
> GRSimpleVals.cpp:234: error: within this context
> /Volumes/mrs5/net/llvm/llvm/tools/clang/lib/Analysis/../../include/
> clang/Analysis/PathSensitive/GRExprEngine.h:89: error: ‘typedef class
> llvm::DenseMap<clang::ExplodedNode<clang::ValueState>*, clang::Expr*,
> llvm::DenseMapInfo<clang::ExplodedNode<clang::ValueState>*>,
> llvm::DenseMapInfo<clang::Expr*> > clang::GRExprEngine::UndefArgsTy’
> is protected
> GRSimpleVals.cpp:240: error: within this context
> /Volumes/mrs5/net/llvm/llvm/tools/clang/lib/Analysis/../../include/
> clang/Analysis/PathSensitive/GRExprEngine.h:89: error: ‘typedef class
> llvm::DenseMap<clang::ExplodedNode<clang::ValueState>*, clang::Expr*,
> llvm::DenseMapInfo<clang::ExplodedNode<clang::ValueState>*>,
> llvm::DenseMapInfo<clang::Expr*> > clang::GRExprEngine::UndefArgsTy’
> is protected
> GRSimpleVals.cpp:241: error: within this context
> /Volumes/mrs5/net/llvm/llvm/tools/clang/lib/Analysis/../../include/
> clang/Analysis/PathSensitive/GRExprEngine.h:88: error: ‘typedef class
> llvm::SmallPtrSet<clang::ExplodedNode<clang::ValueState>*, 2u>
> clang::GRExprEngine::UndefReceiversTy’ is protected
> GRSimpleVals.cpp:247: error: within this context
> /Volumes/mrs5/net/llvm/llvm/tools/clang/lib/Analysis/../../include/
> clang/Analysis/PathSensitive/GRExprEngine.h:88: error: ‘typedef class
> llvm::SmallPtrSet<clang::ExplodedNode<clang::ValueState>*, 2u>
> clang::GRExprEngine::UndefReceiversTy’ is protected
> GRSimpleVals.cpp:248: error: within this context
> make[2]: *** [/Volumes/mrs5/net/llvm/llvm-build/tools/clang/lib/
> Analysis/Debug/GRSimpleVals.o] Error 1
> make[1]: *** [Analysis/.makeall] Error 2
>
> ?
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list