[lldb-dev] [Bug 23051] New: lldb 3.6.0 fails to compile with gcc 4.9

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 27 21:57:19 PDT 2015


            Bug ID: 23051
           Summary: lldb 3.6.0 fails to compile with gcc 4.9
           Product: lldb
           Version: 3.6
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: rodrigc at freebsd.org
    Classification: Unclassified

Created attachment 14109
  --> https://llvm.org/bugs/attachment.cgi?id=14109&action=edit

I'm part of the https://jenkins.freebsd.org continuous integration team.

I used this script:

to cross-build FreeBSD-CURRENT with gcc 4.9.

While building, I encountered this compilation problem with lldb:

error: declaration of 'typedef using String = class std::__1::basic_string
<char, std::__1::char_traits<char>, {anonymous}::malloc_alloc<char> >
ng' [-fpermissive]
     typedef String String;
error: changes meaning of 'String' from 'using String = class
std::__1::basic_string<char, std::__1::char_traits<char>,
{anonymous}::malloc_alloc<char> >' [-fpermissive]
 using String = std::basic_string<char, std::char_traits<char>,

The attached patch fixed it for me.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150328/ab8a9086/attachment.html>

More information about the lldb-dev mailing list