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

           Summary: Ambiguous calls to llvm::next.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Common Code Generator Code
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


C++0x adds std::next (and std::prev). std::next conflicts with llvm::next when
used on a type within the std namespace because of ADL. Explicitly qualifying
these calls will result in the ambiguity being resolved, in favor of the llvm::
version.

lib/CodeGen/Spiller.cpp:442
lib/CodeGen/Spiller.cpp:443
lib/Transforms/Scalar/LoopStrengthReduce.cpp:2820

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to