[LLVMdev] Compilation failure on Windows
Demikhovsky, Elena
elena.demikhovsky at intel.com
Mon Feb 25 06:39:25 PST 2013
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
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the llvm-dev
mailing list