<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div>Hi all,</div><div><br></div><div>I'm trying to build LLVM, synced from SVN trunk yesterday.</div><div><br></div><div>I ran CMake and it generated VS 2008 project files, so far so good.  Then I tried to build them, by building the ALL_BUILD project.</div><div><br></div><div>It got the first three all right, but choked on template issues in LLVMCore:</div><div><br></div><div>1>------ Build started: Project: LLVMCore, Configuration: Debug Win32 ------<br>1>Compiling...<br>1>Verifier.cpp<br>1>Instructions.cpp<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(306) : error C2039: 'size' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My
 Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>        ..\..\..\lib\VMCore\Verifier.cpp(833) : see reference to function template instantiation 'llvm::IntegersSubsetGeneric<IntTy>::IntegersSubsetGeneric<llvm::IntegersSubset>(const RangesCollectionTy &)' being compiled<br>1>        with<br>1>        [<br>1>            IntTy=llvm::IntItem,<br>1>            RangesCollectionTy=llvm::IntegersSubset<br>1>        ]<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(310) : error C2039: 'size' : is not a member of
 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(311) : error C2039: 'size' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(313) : error C2039: 'const_iterator' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>F:\Documents
 and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(313) : error C2065: 'const_iterator' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(313) : error C2146: syntax error : missing ';' before identifier 'i'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(313) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(313) : error C2039: 'begin' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2065: 'e' : undeclared
 identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2039: 'end' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2065: 'e' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2143: syntax error : missing ')' before '++'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2059: syntax error :
 ';'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2059: syntax error : ')'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2143: syntax error : missing ';' before '{'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(316) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(316) : error C2227: left of '->getLow' must point to class/struct/union/generic type<br>1>        type is ''unknown-type''<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(318) : error
 C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(318) : error C2227: left of '->getLow' must point to class/struct/union/generic type<br>1>        type is ''unknown-type''<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(318) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(318) : error C2227: left of '->getHigh' must point to class/struct/union/generic type<br>1>        type is ''unknown-type''<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(319) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(319) : error
 C2227: left of '->getHigh' must point to class/struct/union/generic type<br>1>        type is ''unknown-type''<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(306) : error C2039: 'size' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>        f:\Program Files\Microsoft Visual Studio 9.0\VC\include\xmemory(164) : see reference to function template instantiation 'llvm::IntegersSubsetGeneric<IntTy>::IntegersSubsetGeneric<llvm::IntegersSubset>(const RangesCollectionTy &)' being compiled<br>1>        with<br>1>       
 [<br>1>            IntTy=llvm::IntItem,<br>1>            RangesCollectionTy=llvm::IntegersSubset<br>1>        ]<br>1>        f:\Program Files\Microsoft Visual Studio 9.0\VC\include\xmemory(154) : while compiling class template member function 'void std::allocator<_Ty>::construct(std::pair<_Ty1,_Ty2> *,const _Ty &)'<br>1>        with<br>1>        [<br>1>            _Ty=std::pair<llvm::IntegersSubsetMapping<llvm::BasicBlock>::RangeEx,llvm::BasicBlock *>,<br>1>           
 _Ty1=llvm::IntegersSubsetMapping<llvm::BasicBlock>::RangeEx,<br>1>            _Ty2=llvm::BasicBlock *<br>1>        ]<br>1>        f:\Program Files\Microsoft Visual Studio 9.0\VC\include\list(50) : see reference to class template instantiation 'std::allocator<_Ty>' being compiled<br>1>        with<br>1>        [<br>1>            _Ty=std::pair<llvm::IntegersSubsetMapping<llvm::BasicBlock>::RangeEx,llvm::BasicBlock *><br>1>        ]<br>1>        f:\Program Files\Microsoft Visual Studio 9.0\VC\include\list(59) : see reference to class template instantiation 'std::_List_nod<_Ty,_Alloc>'
 being compiled<br>1>        with<br>1>        [<br>1>            _Ty=std::pair<llvm::IntegersSubsetMapping<llvm::BasicBlock>::RangeEx,llvm::BasicBlock *>,<br>1>            _Alloc=std::allocator<std::pair<llvm::IntegersSubsetMapping<llvm::BasicBlock>::RangeEx,llvm::BasicBlock *>><br>1>        ]<br>1>        f:\Program Files\Microsoft Visual Studio 9.0\VC\include\list(79) : see reference to class template instantiation 'std::_List_ptr<_Ty,_Alloc>' being compiled<br>1>        with<br>1>        [<br>1>           
 _Ty=std::pair<llvm::IntegersSubsetMapping<llvm::BasicBlock>::RangeEx,llvm::BasicBlock *>,<br>1>            _Alloc=std::allocator<std::pair<llvm::IntegersSubsetMapping<llvm::BasicBlock>::RangeEx,llvm::BasicBlock *>><br>1>        ]<br>1>        f:\Program Files\Microsoft Visual Studio 9.0\VC\include\list(96) : see reference to class template instantiation 'std::_List_val<_Ty,_Alloc>' being compiled<br>1>        with<br>1>        [<br>1>            _Ty=std::pair<llvm::IntegersSubsetMapping<llvm::BasicBlock>::RangeEx,llvm::BasicBlock *>,<br>1>           
 _Alloc=std::allocator<std::pair<llvm::IntegersSubsetMapping<llvm::BasicBlock>::RangeEx,llvm::BasicBlock *>><br>1>        ]<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubsetMapping.h(53) : see reference to class template instantiation 'std::list<_Ty>' being compiled<br>1>        with<br>1>        [<br>1>            _Ty=std::pair<llvm::IntegersSubsetMapping<llvm::BasicBlock>::RangeEx,llvm::BasicBlock *><br>1>        ]<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Instructions.h(2804) : see reference to class template instantiation
 'llvm::IntegersSubsetMapping<SuccessorClass>' being compiled<br>1>        with<br>1>        [<br>1>            SuccessorClass=llvm::BasicBlock<br>1>        ]<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(310) : error C2039: 'size' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(311) : error C2039: 'size' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My
 Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(313) : error C2039: 'const_iterator' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(313) : error C2065: 'const_iterator' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(313) : error C2146: syntax error : missing ';' before identifier 'i'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(313) : error C2065: 'i' : undeclared
 identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(313) : error C2039: 'begin' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2065: 'e' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2039: 'end' : is not a member of 'llvm::IntegersSubset'<br>1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset'<br>1>F:\Documents and Settings\Mason\My
 Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2065: 'e' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2143: syntax error : missing ')' before '++'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2059: syntax error : ';'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2059: syntax error : ')'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(314) : error C2143: syntax error :
 missing ';' before '{'<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(316) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(316) : error C2227: left of '->getLow' must point to class/struct/union/generic type<br>1>        type is ''unknown-type''<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(318) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(318) : error C2227: left of '->getLow' must point to class/struct/union/generic type<br>1>        type is ''unknown-type''<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(318) : error C2065: 'i' :
 undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(318) : error C2227: left of '->getHigh' must point to class/struct/union/generic type<br>1>        type is ''unknown-type''<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(319) : error C2065: 'i' : undeclared identifier<br>1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(319) : error C2227: left of '->getHigh' must point to class/struct/union/generic type<br>1>        type is ''unknown-type''<br>1>Build log was saved at "file://f:\Documents and Settings\Mason\My Documents\VC\llvm\VisualC\lib\VMCore\LLVMCore.dir\Debug\BuildLog.htm"<br>1>LLVMCore - 50 error(s), 0 warning(s)<br>========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped
 ==========<br></div><div><br></div><div>C++ really isn't my strong point, so I have no clue where to even start tracking this down.  I was sort of hoping that it would "just work," but it doesn't and now there are something like 25 projects that don't build.  This is the first one, and I hope that fixing it would fix some of the others too.</div><div><br></div><div>Anyone have any idea what's wrong?<br></div></div></body></html>