Compilation failure on Windows

I tried to compile the "bugpoint" project on Windows 7 MSVC 10 64-bit and I see the following failure:

8>W:\LLVM_org\llvm\include\llvm/ADT/Optional.h(73): error C2839: invalid return type 'llvm::GlobalValue::VisibilityTypes *' for overloaded 'operator ->'
8> W:\LLVM_org\llvm\include\llvm/ADT/Optional.h(71) : while compiling class template member function 'void llvm::Optional<T>::reset(void)'
8> with
8> [
8> T=llvm::GlobalValue::VisibilityTypes
8> ]
8> W:\LLVM_org\llvm\lib\Linker\LinkModules.cpp(711) : see reference to class template instantiation 'llvm::Optional<T>' being compiled
8> with
8> [
8> T=llvm::GlobalValue::VisibilityTypes
8> ]
8>W:\LLVM_org\llvm\include\llvm/ADT/Optional.h(73): error C2300: 'llvm::Optional<T>' : class does not have a destructor called '~T'
8> with
8> [
8> T=llvm::GlobalValue::VisibilityTypes
8> ]
8>
8>Build FAILED.

Did anybody see this failure?

Thanks.

- Elena

Try fetching ToT, this issue should be resolved already.

~Aaron