[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
https://llvm.org/bugs/show_bug.cgi?id=23051
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
patch
I'm part of the https://jenkins.freebsd.org continuous integration team.
I used this script:
https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/cross-build.sh
to cross-build FreeBSD-CURRENT with gcc 4.9.
While building, I encountered this compilation problem with lldb:
/opt2/branches/head/lib/clang/liblldbCore/../../../contrib/llvm/tools/lldb/source/Core/Mangled.cpp:4889:20:
error: declaration of 'typedef using String = class std::__1::basic_string
<char, std::__1::char_traits<char>, {anonymous}::malloc_alloc<char> >
{anonymous}::Db::Stri
ng' [-fpermissive]
typedef String String;
^
/opt2/branches/head/lib/clang/liblldbCore/../../../contrib/llvm/tools/lldb/source/Core/Mangled.cpp:4868:83:
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>,
malloc_alloc<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