[Galaxy S II Original Android Development] golcheck:
today after syncing repo and tried to build I got lots of errors:

llvm::PointerUnion<clang::QualifiedTemplateName*, clang::DependentTemplateName*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:349:11: required from ‘class llvm::PointerUnion4<clang::TemplateDecl*, clang::UncommonTemplateNameStorage*, clang::QualifiedTemplateName*, clang::DependentTemplateName*>’
external/clang/include/clang/AST/TemplateName.h:180:15: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::QualifiedTemplateName*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::DependentTemplateName*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::QualifiedTemplateName*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::DependentTemplateName*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::TemplateDecl*, clang::UncommonTemplateNameStorage*>, llvm::PointerUnion<clang::QualifiedTemplateName*, clang::DependentTemplateName*> >’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::TemplateDecl*, clang::UncommonTemplateNameStorage*>, llvm::PointerUnion<clang::QualifiedTemplateName*, clang::DependentTemplateName*> > >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<llvm::PointerUnion<clang::TemplateDecl*, clang::UncommonTemplateNameStorage*>, llvm::PointerUnion<clang::QualifiedTemplateName*, clang::DependentTemplateName*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:349:11: required from ‘class llvm::PointerUnion4<clang::TemplateDecl*, clang::UncommonTemplateNameStorage*, clang::QualifiedTemplateName*, clang::DependentTemplateName*>’
external/clang/include/clang/AST/TemplateName.h:180:15: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TemplateDecl*, clang::UncommonTemplateNameStorage*> >::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::QualifiedTemplateName*, clang::DependentTemplateName*> >::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::TemplateDecl*, clang::UncommonTemplateNameStorage*> >::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::QualifiedTemplateName*, clang::DependentTemplateName*> >::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<const clang::Type*, const clang::ExtQuals*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<const clang::Type*, const clang::ExtQuals*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*>’
external/llvm/include/llvm/ADT/PointerUnion.h:200:10: required from ‘class llvm::PointerLikeTypeTraits<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*> >’
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<llvm::PointerUnion<const clang::Type*, const clang::ExtQuals*>, 3u>’
external/clang/include/clang/AST/Type.h:467:47: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<const clang::Type*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<const clang::ExtQuals*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<const clang::Type*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<const clang::ExtQuals*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::DeclContext*, clang::Decl::MultipleDC*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::DeclContext*, clang::Decl::MultipleDC*>’
external/clang/include/clang/AST/DeclBase.h:210:49: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::DeclContext*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::Decl::MultipleDC*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::DeclContext*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::Decl::MultipleDC*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::TypeSourceInfo*, clang::DeclaratorDecl::ExtInfo*>’
external/clang/include/clang/AST/Decl.h:556:49: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::DeclaratorDecl::ExtInfo*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::DeclaratorDecl::ExtInfo*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::Stmt*, clang::EvaluatedStmt*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::Stmt*, clang::EvaluatedStmt*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*>’
external/llvm/include/llvm/ADT/PointerUnion.h:200:10: required from ‘class llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: required from ‘class llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*>, llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> >’
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*>, llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> > >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*>, llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:349:11: required from ‘class llvm::PointerUnion4<clang::Stmt*, clang::EvaluatedStmt*, clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*>’
external/clang/include/clang/AST/Decl.h:693:20: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::Stmt*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::EvaluatedStmt*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::Stmt*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::EvaluatedStmt*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*>’
external/llvm/include/llvm/ADT/PointerUnion.h:200:10: required from ‘class llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: required from ‘class llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*>, llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> >’
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*>, llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> > >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*>, llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:349:11: required from ‘class llvm::PointerUnion4<clang::Stmt*, clang::EvaluatedStmt*, clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*>’
external/clang/include/clang/AST/Decl.h:693:20: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::VarDecl::UnparsedDefaultArgument*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::VarDecl::UninstantiatedDefaultArgument*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::VarDecl::UnparsedDefaultArgument*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::VarDecl::UninstantiatedDefaultArgument*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*>, llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> >’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*>, llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> > >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*>, llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:349:11: required from ‘class llvm::PointerUnion4<clang::Stmt*, clang::EvaluatedStmt*, clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*>’
external/clang/include/clang/AST/Decl.h:693:20: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*> >::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> >::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::Stmt*, clang::EvaluatedStmt*> >::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::VarDecl::UnparsedDefaultArgument*, clang::VarDecl::UninstantiatedDefaultArgument*> >::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>’
external/llvm/include/llvm/ADT/PointerUnion.h:200:10: required from ‘class llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: required from ‘class llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>, llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> >’
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>, llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> > >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>, llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:349:11: required from ‘class llvm::PointerUnion4<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*, clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*>’
external/clang/include/clang/AST/Decl.h:1463:5: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::FunctionTemplateDecl*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::MemberSpecializationInfo*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::FunctionTemplateDecl*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::MemberSpecializationInfo*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*>’
external/llvm/include/llvm/ADT/PointerUnion.h:200:10: required from ‘class llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: required from ‘class llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>, llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> >’
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>, llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> > >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>, llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:349:11: required from ‘class llvm::PointerUnion4<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*, clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*>’
external/clang/include/clang/AST/Decl.h:1463:5: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::FunctionTemplateSpecializationInfo*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::DependentFunctionTemplateSpecializationInfo*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::FunctionTemplateSpecializationInfo*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::DependentFunctionTemplateSpecializationInfo*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>, llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> >’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>, llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> > >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*>, llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:349:11: required from ‘class llvm::PointerUnion4<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*, clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*>’
external/clang/include/clang/AST/Decl.h:1463:5: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*> >::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> >::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::FunctionTemplateDecl*, clang::MemberSpecializationInfo*> >::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> >::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::TypedefNameDecl*, clang::QualifierInfo*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::TypedefNameDecl*, clang::QualifierInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::TypedefNameDecl*, clang::QualifierInfo*>’
external/clang/include/clang/AST/Decl.h:2408:50: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::TypedefNameDecl*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::QualifierInfo*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::TypedefNameDecl*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::QualifierInfo*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<const clang::Type*, clang::TypeSourceInfo*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<const clang::Type*, clang::TypeSourceInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<const clang::Type*, clang::TypeSourceInfo*>’
external/clang/include/clang/AST/Decl.h:2601:52: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<const clang::Type*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<const clang::Type*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::Expr*, clang::FieldDecl*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::Expr*, clang::FieldDecl*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::Expr*, clang::FieldDecl*>’
external/clang/include/clang/AST/Expr.h:3337:43: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::Expr*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::FieldDecl*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::Expr*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::FieldDecl*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::Stmt*, clang::TypeSourceInfo*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::Stmt*, clang::TypeSourceInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::Stmt*, clang::TypeSourceInfo*>’
external/clang/include/clang/AST/ExprCXX.h:388:48: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::Stmt*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::Stmt*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::IdentifierInfo*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::TypeSourceInfo*, clang::IdentifierInfo*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::TypeSourceInfo*, clang::IdentifierInfo*>’
external/clang/include/clang/AST/ExprCXX.h:1332:58: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::IdentifierInfo*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::TypeSourceInfo*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::IdentifierInfo*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<clang::Stmt*, const clang::Type*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<clang::Stmt*, const clang::Type*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<clang::Stmt*, const clang::Type*>’
external/llvm/include/llvm/ADT/PointerUnion.h:200:10: required from ‘class llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::Stmt*, const clang::Type*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: required from ‘class llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::Stmt*, const clang::Type*>, clang::ObjCInterfaceDecl*>’
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::Stmt*, const clang::Type*>, clang::ObjCInterfaceDecl*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<llvm::PointerUnion<clang::Stmt*, const clang::Type*>, clang::ObjCInterfaceDecl*>’
external/llvm/include/llvm/ADT/PointerUnion.h:216:11: required from ‘class llvm::PointerUnion3<clang::Stmt*, const clang::Type*, clang::ObjCInterfaceDecl*>’
external/clang/include/clang/AST/ExprObjC.h:246:63: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<clang::Stmt*>::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<const clang::Type*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<clang::Stmt*>::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<const clang::Type*>::<anonymous enum>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h: In instantiation of ‘class llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::Stmt*, const clang::Type*>, clang::ObjCInterfaceDecl*>’:
external/llvm/include/llvm/ADT/PointerIntPair.h:43:8: required from ‘class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<llvm::PointerUnion<clang::Stmt*, const clang::Type*>, clang::ObjCInterfaceDecl*> >’
external/llvm/include/llvm/ADT/PointerUnion.h:89:11: required from ‘class llvm::PointerUnion<llvm::PointerUnion<clang::Stmt*, const clang::Type*>, clang::ObjCInterfaceDecl*>’
external/llvm/include/llvm/ADT/PointerUnion.h:216:11: required from ‘class llvm::PointerUnion3<clang::Stmt*, const clang::Type*, clang::ObjCInterfaceDecl*>’
external/clang/include/clang/AST/ExprObjC.h:246:63: required from here
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: comparison between ‘enum llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::Stmt*, const clang::Type*> >::<anonymous>’ and ‘enum llvm::PointerLikeTypeTraits<clang::ObjCInterfaceDecl*>::<anonymous>’ [-Werror=enum-compare]
external/llvm/include/llvm/ADT/PointerUnion.h:56:10: error: enumeral mismatch in conditional expression: ‘llvm::PointerLikeTypeTraits<llvm::PointerUnion<clang::Stmt*, const clang::Type*> >::<anonymous enum>’ vs ‘llvm::PointerLikeTypeTraits<clang::ObjCInterfaceDecl*>::<anonymous enum>’ [-Werror=enum-compare]
cc1plus: all warnings being treated as errors
make: *** [out/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/slang_rs.o] Error 1

as it can be seen from the code it is related to llvm. Any ideas?