[cfe-dev] Build Errors

David Greene dag at cray.com
Wed Feb 29 12:54:15 PST 2012

I get the follwing build errors with -Werror:

[sta-opt]    : [llvm] /ptmp/dag/llvm/staging/llvm/tools/clang/lib/AST/Expr.cpp: In static member function 'static int clang::StringLiteral::mapCharByteWidth(const clang::TargetInfo&, clang::StringLiteral::StringKind)':
[sta-opt]    : [llvm] /ptmp/dag/llvm/staging/llvm/tools/clang/lib/AST/Expr.cpp:518:80: error: 'CharByteWidth' may be used uninitialized in this function [-Werror=uninitialized]
[sta-opt]    : [llvm] cc1plus: all warnings being treated as errors

Can someone fix this?  I don't have commit access.



More information about the cfe-dev mailing list