Bug ID 44791
Summary LLDB 10.x (and current master) fails to build with GCC 5.4
Product lldb
Version 10.0
Hardware PC
OS All
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter martin@martin.st
CC aprantl@apple.com, hans@chromium.org, jdevlieghere@apple.com, labath@google.com, llvm-bugs@lists.llvm.org
Blocks 44555
Building the current master with GCC 5.4 (on Ubuntu 16.04) fails like this:
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:71:68: error:
specialization of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
auto &LanguageCategory::GetHardcodedFinder<lldb::TypeFormatImplSP>() {
^
In file included from
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:9:0:
../tools/lldb/include/lldb/DataFormatters/LanguageCategory.h:52:9: error:
from definition of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
auto &GetHardcodedFinder();
^
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:76:69: error:
specialization of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
auto &LanguageCategory::GetHardcodedFinder<lldb::TypeSummaryImplSP>() {
^
In file included from
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:9:0:
../tools/lldb/include/lldb/DataFormatters/LanguageCategory.h:52:9: error:
from definition of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
auto &GetHardcodedFinder();
^
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:81:71: error:
specialization of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' in different namespace
[-fpermissive]
auto &LanguageCategory::GetHardcodedFinder<lldb::SyntheticChildrenSP>() {
^
In file included from
../tools/lldb/source/DataFormatters/LanguageCategory.cpp:9:0:
../tools/lldb/include/lldb/DataFormatters/LanguageCategory.h:52:9: error:
from definition of 'template<class ImplSP> auto&
lldb_private::LanguageCategory::GetHardcodedFinder()' [-fpermissive]
auto &GetHardcodedFinder();
^