[llvm-bugs] [Bug 30438] New: lld build failure with GCC

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 18 08:38:39 PDT 2016


            Bug ID: 30438
           Summary: lld build failure with GCC
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: willdtz at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

~~/llvm/tools/lld/ELF/LinkerScript.cpp: In member function 'void
~~/llvm/tools/lld/ELF/LinkerScript.cpp:450:8: error: inconsistent deduction for
'auto': 'auto' and then
std::vector<std::unique_ptr<lld::elf::BaseCommand> > >'
   for (auto I = E, E = Cmd->Commands.end(); I != E; ++I)

When building lld with GCC 6.2.0.

Relevant line:


While I'm curious as to why exactly GCC is unhappy here (and whether it's
"right" to reject it), it seems worth fixing anyway :).

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160918/c7626612/attachment.html>

More information about the llvm-bugs mailing list