[LLVMbugs] [Bug 11635] New: Compiling llvm in VC++11 fails.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 21 06:38:12 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=11635

             Bug #: 11635
           Summary: Compiling llvm in VC++11 fails.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: niobium93 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Visual Studio 2011 Developer Preview reports an error in file
lib/CodeGen/AsmPrinter
This is the error:
E:\Documents\Projects\llvm\lib\CodeGen\AsmPrinter\DwarfDebug.cpp(534): error
C2668: 'llvm::tie' : ambiguous call to overloaded function
          E:\Documents\Projects\llvm\include\llvm/ADT/STLExtras.h(206): could
be 'llvm::tier<T1,T2> llvm::tie<std::_Tree_iterator<_Mytree>,bool>(T1 &,T2 &)'
          with
          [
             
T1=std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const
std::pair<std::string,std::string>,unsigned int>>>>,
              T2=bool,
              _Mytree=std::_Tree_val<std::_Tree_simple_types<std::pair<const
std::pair<std::string,std::string>,unsigned int>>>
          ]
          C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\include\tuple(690): or      
'std::tuple<<unnamed-symbol>,_V0_t,_V1_t,_V2_t,_V3_t,_V4_t,_V5_t,std::_Nil>
std::tie<std::_Tree_iterator<_Mytree>,bool>(std::_Tree_iterator<_Mytree> &,bool
&)' [found using argument-dependent lookup]
          with
          [
             
<unnamed-symbol>=std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const
std::pair<std::string,std::string>,unsigned int>>>> &,
              _V0_t=bool &,
              _V1_t=std::_Nil,
              _V2_t=std::_Nil,
              _V3_t=std::_Nil,
              _V4_t=std::_Nil,
              _V5_t=std::_Nil,
              _Mytree=std::_Tree_val<std::_Tree_simple_types<std::pair<const
std::pair<std::string,std::string>,unsigned int>>>
          ]
          while trying to match the argument list
'(std::_Tree_iterator<_Mytree>, bool)'
          with
          [
              _Mytree=std::_Tree_val<std::_Tree_simple_types<std::pair<const
std::pair<std::string,std::string>,unsigned int>>>
          ]

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list