[LLVMdev] Compilation failure on Windows

Aaron Ballman aaron at aaronballman.com
Mon Feb 25 06:47:06 PST 2013


Try fetching ToT, this issue should be resolved already.

~Aaron

On Mon, Feb 25, 2013 at 9:39 AM, Demikhovsky, Elena
<elena.demikhovsky at intel.com> wrote:
> 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.
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list