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@cs.uiuc.edu Reporter: rodr...@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.
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev